<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def invert_edge_predicate(edge_predicate: EdgePredicate) -> EdgePredicate: # noqa: D202 """Build an edge predicate that is the inverse of the given edge predicate."""


    def _inverse_filter(graph, u, v, k):
        return not edge_predicate(graph, u, v, k)

    return _inverse_filter