Added the "is{State}" check to the StatefulTrait