docs: def _collection_function_inclusion_builder(funcs: Iterable[str]) -> NodePredicate:
      """Build a function inclusion filter for a collection of functions."""
      funcs = set(funcs)
  
      if not funcs:
          raise ValueError('can not build function inclusion filter with empty list of functions')
  
      def functions_inclusion_filter(_: BELGraph, node: BaseEntity) -> bool:
          """Pass only for a node that is one of the enclosed functions."""
          return node.function in funcs
  
      return functions_inclusion_filter