def get_state(self):
    state = []
    state += ([self.StaticRoles.ACTIVE.shorthand] if self.is_active else [])
    state += ([self.StaticRoles.SETUP.shorthand] if self.in_setup else [])
    state += ([self.StaticRoles.RESET.shorthand] if self.in_reset else [])
    state += ([self.StaticRoles.ALPHA.shorthand] if self.in_alpha else [])
    state += ([self.StaticRoles.BETA.shorthand] if self.in_beta else [])
    return state
def get_state(self):
    state = []
    state += ([self.StaticRoles.ACTIVE.shorthand] if self.is_active else [])
    state += ([self.StaticRoles.SETUP.shorthand] if self.in_setup else [])
    state += ([self.StaticRoles.RESET.shorthand] if self.in_reset else [])
    state += ([self.StaticRoles.ALPHA.shorthand] if self.in_alpha else [])
    state += ([self.StaticRoles.BETA.shorthand] if self.in_beta else [])
    return state