func IsLayer2Edge(e *graph.Edge) bool { if t, ok := e.Metadata()["RelationType"]; ok && t.(string) == "layer2" { return true } return false }
func IsOwnershipEdge(e *graph.Edge) bool { if t, ok := e.Metadata()["RelationType"]; ok && t.(string) == "ownership" { return true } return false }