is_valid_matching¶ is_valid_matching(edges)[source]¶ Check that no node appears in more than one selected edge. Return type: bool