-- | Helper to check if the flag is undirected
isUndirected :: Directed -> Bool
isUndirected Undirected = True
isUndirected :: Directed -> Bool
isUndirected Undirected = True
isUndirected Undirected = True