check enum presence deleted and added enum check in each enum class