public function isUploaded()
    {
        if ($this->form->isSubmitted() && is_array($this->value) && $this->value['error'] == UPLOAD_ERR_OK) {
            return true;
        }

        return false;
    }
public function isUploaded()
    {
        if ($this->form->isSubmitted() && is_array($this->value) && $this->value['error'] == UPLOAD_ERR_OK) {
            return true;
        }

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

@return boolean
Returns true if the form was submited and there was a file uploaded .