[android-components](../../index.md) / [mozilla.components.browser.search.provider.filter](../index.md) / [SearchEngineFilter](index.md) / [filter](./filter.md)

# filter

`abstract fun filter(context: <ERROR CLASS>, searchEngine: `[`SearchEngine`](../../mozilla.components.browser.search/-search-engine/index.md)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/search/src/main/java/mozilla/components/browser/search/provider/filter/SearchEngineFilter.kt#L19)

Returns true if the given search engine should be returned by the provider or false if this
search engine should be ignored.

