docs: def _single_function_inclusion_filter_builder(func: str) -> NodePredicate:  # noqa: D202
      """Build a function inclusion filter for a single function."""
  
      def function_inclusion_filter(_: BELGraph, node: BaseEntity) -> bool:
          """Pass only for a node that has the enclosed function."""
          return node.function == func
  
      return function_inclusion_filter