if statement

execute the search only if it’s a request (actor)