checks for active search