code: def current(self):
          
          if self.obj is not None:
              return {name: mstate(self.obj, self.cls)
                  for name, mstate in self.statemanager.states.items()
                  if mstate(self.obj, self.cls)}
docs: All states and state groups that are currently active.