<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_applicable_selector(selector, filter):
 """ Given a Selector and Filter, return True if the Selector is compatible with the given Filter, and False if they contradict. """

    for test in selector.allTests():
        if not test.isCompatible(filter.tests):
            return False
    
    return True