Check for conditions in listener with &&