public function hasField(string $field): bool
    {
        if ($this->fields === null) {
            return false;
        }

        return in_array($field, $this->fields);
    }
public function hasField(string $field): bool
    {
        if ($this->fields === null) {
            return false;
        }

        return in_array($field, $this->fields);
    }
public function hasField ( string $ field ) : bool { if ( $ this -> fields === null ) { return false ; } return in_array ( $ field , $ this -> fields ) ; }
Tell if this Jory contains a selected field.

@param string $field
@return bool
Tell if this Jory contains a selected field .