ToolbarMiddleware.process_response: conditional refactor

Changed loop into an any() call and replaced "found" bool with combined clauses