original_string: public function isUploaded()
      {
          if ($this->form->isSubmitted() && is_array($this->value) && $this->value['error'] == UPLOAD_ERR_OK) {
              return true;
          }
  
          return false;
      }
code: public function isUploaded()
      {
          if ($this->form->isSubmitted() && is_array($this->value) && $this->value['error'] == UPLOAD_ERR_OK) {
              return true;
          }
  
          return false;
      }
code_tokens: public function isUploaded ( ) { if ( $ this -> form -> isSubmitted ( ) && is_array ( $ this -> value ) && $ this -> value [ 'error' ] == UPLOAD_ERR_OK ) { return true ; } return false ; }
docstring: Returns true if the form was submited and there was a file uploaded.
  
  @return boolean
docstring_tokens: Returns true if the form was submited and there was a file uploaded .