code: def _comparator_presence(_, tested_value):
      
      # The filter value is a joker : simple presence test
      if tested_value is None:
          return False
      elif hasattr(tested_value, "__len__"):
          # Refuse empty values
          # pylint: disable=C1801
          return len(tested_value) != 0
  
      # Presence validated
      return True
docs: Tests a filter which simply a joker, i.e. a value presence test