public function matchesFieldKeys(array $keys): bool
    {
        if ( ! count($keys)) return false;

        return count(array_intersect($keys, $this->descendantFieldKeys())) > 0;
    }
public function matchesFieldKeys(array $keys): bool
    {
        if ( ! count($keys)) return false;

        return count(array_intersect($keys, $this->descendantFieldKeys())) > 0;
    }
public function matchesFieldKeys ( array $ keys ) : bool { if ( ! count ( $ keys ) ) return false ; return count ( array_intersect ( $ keys , $ this -> descendantFieldKeys ( ) ) ) > 0 ; }
Returns whether any of the children have field keys that appear in a given list of keys.

@param string[] $keys
@return bool
Returns whether any of the children have field keys that appear in a given list of keys .