def is_interface_enum(enumtype): return not (enumtype[0] in string.uppercase and enumtype[2] in string.uppercase)