Added methods for checking the enums