src/pybel/struct/filters/edge_predicates.py
def has_pathology_causal(graph: BELGraph, u: BaseEntity, v: BaseEntity, k: str) -> bool:
    """Check if the subject is a pathology and has a causal relationship with a non bioprocess/pathology.

    :return: If the subject of this edge is a pathology and it participates in a causal reaction.
    """
    return (
        isinstance(u, Pathology)
        and is_causal_relation(graph, u, v, k)
        and not isinstance(v, (Pathology, BiologicalProcess))
    )
Check if the subject is a pathology and has a causal relationship with a non bioprocess/pathology.

    :return: If the subject of this edge is a pathology and it participates in a causal reaction.
    
Check if the subject is a pathology and has a causal relationship with a non bioprocess/pathology.
Check if the subject is a pathology and has a causal relationship with a non bioprocess / pathology .
def has_pathology_causal(graph: BELGraph, u: BaseEntity, v: BaseEntity, k: str) -> bool:
    return (
        isinstance(u, Pathology)
        and is_causal_relation(graph, u, v, k)
        and not isinstance(v, (Pathology, BiologicalProcess))
    )
def has_pathology_causal ( graph : BELGraph , u : BaseEntity , v : BaseEntity , k : str ) -> bool : return ( isinstance ( u , Pathology ) and is_causal_relation ( graph , u , v , k ) and not isinstance ( v , ( Pathology , BiologicalProcess ) ) )
Check if the subject is a pathology and has a causal relationship with a non bioprocess/pathology.
Check if the subject is a pathology and has a causal relationship with a non bioprocess / pathology .
"""Check if the subject is a pathology and has a causal relationship with a non bioprocess/pathology.

    :return: If the subject of this edge is a pathology and it participates in a causal reaction.
    """
If the subject of this edge is a pathology and it participates in a causal reaction.
If the subject of this edge is a pathology and it participates in a causal reaction .
graph
BELGraph
u
BaseEntity
v
BaseEntity
k
str