MabiCreature has a method "Has", to check for active conditions and states, cleaner and simpler.