original_string: public function isValid()
  	{
  		// loop through all files
  		foreach ($this->container as $file)
  		{
  			// return false at the first non-valid file
  			if ( ! $file->isValid())
  			{
  				return false;
  			}
  		}
  
  		// only return true if there are uploaded files, and they are all valid
  		return empty($this->container) ? false : true;
  	}
code: public function isValid()
  	{
  		// loop through all files
  		foreach ($this->container as $file)
  		{
  			// return false at the first non-valid file
  			if ( ! $file->isValid())
  			{
  				return false;
  			}
  		}
  
  		// only return true if there are uploaded files, and they are all valid
  		return empty($this->container) ? false : true;
  	}
code_tokens: public function isValid ( ) { // loop through all files foreach ( $ this -> container as $ file ) { // return false at the first non-valid file if ( ! $ file -> isValid ( ) ) { return false ; } } // only return true if there are uploaded files, and they are all valid return empty ( $ this -> container ) ? false : true ; }
docstring: Returns a consolidated status of all uploaded files
  
  @return boolean
docstring_tokens: Returns a consolidated status of all uploaded files