code: def is_applicable_selector(selector, filter):
      
      for test in selector.allTests():
          if not test.isCompatible(filter.tests):
              return False
      
      return True
docs: Given a Selector and Filter, return True if the Selector is
          compatible with the given Filter, and False if they contradict.