public function has_error( $key ) {
		return $this->errors
				&& array_key_exists( $key, $this->errors->errors )
				&& count( $this->errors->errors[ $key ] ) > 0;
	}
public function has_error( $key ) {
		return $this->errors
				&& array_key_exists( $key, $this->errors->errors )
				&& count( $this->errors->errors[ $key ] ) > 0;
	}
public function has_error ( $ key ) { return $ this -> errors && array_key_exists ( $ key , $ this -> errors -> errors ) && count ( $ this -> errors -> errors [ $ key ] ) > 0 ; }
Determnies if given field has any errors.

@param  string $key
@return bool
Determnies if given field has any errors .