added contains method to test if Enum contains an enum name