I have the following code:
func filterContentForSearchText(_ searchText: String, scope: String = "All") { if (!searchBarIsEmpty()) {