private function isRequired($field, $file) {
		
		if(true === isset($this -> required[$field])) {
			
			if(false === $this -> required[$field] && (null === $file || trim($file['tmp_name']) === '')) {
			    return true;
			}
		}

		return false;
	}
private function isRequired($field, $file) {
		
		if(true === isset($this -> required[$field])) {
			
			if(false === $this -> required[$field] && (null === $file || trim($file['tmp_name']) === '')) {
			    return true;
			}
		}

		return false;
	}
private function isRequired ( $ field , $ file ) { if ( true === isset ( $ this -> required [ $ field ] ) ) { if ( false === $ this -> required [ $ field ] && ( null === $ file || trim ( $ file [ 'tmp_name' ] ) === '' ) ) { return true ; } } return false ; }
Evaluates if file is required or not
@param $field string
@param $file null | string
@return boolean
Evaluates if file is required or not