Checks if an edge type is valid without throwing exceptions.
bool isValidEdgeType(String edgeType) => _edgeTypePattern.hasMatch(edgeType);