code: def build_annotation_dict_any_filter(annotations: Mapping[str, Iterable[str]]) -> EdgePredicate:
      
      if not annotations:
          return keep_edge_permissive
  
      @edge_predicate
      def annotation_dict_any_filter(edge_data: EdgeData) -> bool:
          """Check if the any of the annotations in the enclosed query match."""
          return _annotation_dict_any_filter(edge_data, query=annotations)
  
      return annotation_dict_any_filter
docs: Build an edge predicate that passes for edges whose data dictionaries match the given dictionary.
  
      If the given dictionary is empty, will always evaluate to true.
  
      :param annotations: The annotation query dict to match