context | The search context. |
query | The query string used for the search. |
objectToFilter | The element to test against the search query. |
bool True if the element satisfies the search query, false otherwise.
This function checks whether or not the specified element satisfies the search query.