src/ParsedQuery.php
public function hasAMatchableNode(): bool
    {
        foreach ($this->nodes as $node) {
            if (!$node->isProhibited()) {
                return true;
            }
        }

        return false;
    }
public function hasAMatchableNode(): bool
    {
        foreach ($this->nodes as $node) {
            if (!$node->isProhibited()) {
                return true;
            }
        }

        return false;
    }
public function hasAMatchableNode ( ) : bool { foreach ( $ this -> nodes as $ node ) { if ( ! $ node -> isProhibited ( ) ) { return true ; } } return false ; }
Returns true if the parsed query contains at least one request for an item
matching the query.  If all of the nodes are "prohibited" values it
can easily review your entire index.

@return bool
Returns true if the parsed query contains at least one request for an item matching the query . If all of the nodes are prohibited values it can easily review your entire index .