original_string: public function has_error( $key ) {
  		return $this->errors
  				&& array_key_exists( $key, $this->errors->errors )
  				&& count( $this->errors->errors[ $key ] ) > 0;
  	}
code: public function has_error( $key ) {
  		return $this->errors
  				&& array_key_exists( $key, $this->errors->errors )
  				&& count( $this->errors->errors[ $key ] ) > 0;
  	}
code_tokens: public function has_error ( $ key ) { return $ this -> errors && array_key_exists ( $ key , $ this -> errors -> errors ) && count ( $ this -> errors -> errors [ $ key ] ) > 0 ; }
docstring: Determnies if given field has any errors.
  
  @param  string $key
  @return bool
docstring_tokens: Determnies if given field has any errors .