def METHOD_NAME(k5_network):
    try:
        import planarity  # noqa: F401
    except ImportError:
        return
    from compas.datastructures import network_is_planar
    assert network_is_planar(k5_network) is not True