docs: def has_causal_in_edges(graph: BELGraph, node: BaseEntity) -> bool:
      """Return true if the node contains any in_edges that are causal."""
      return any(
          data[RELATION] in CAUSAL_RELATIONS
          for _, _, data in graph.in_edges(node, data=True)
      )