def update_groups_for_state(self, state: State):
        """
        Update all the Group memberships for the users
        who have State
        :param state: State to update for
        :return:
        """
        users = get_users_for_state(state)
        for config in self.filter(states=state):
            logger.debug("in state loop")
            for user in users:
                logger.debug("in user loop for {}".format(user))
                config.update_group_membership_for_user(user)
Update all the Group memberships for the users
        who have State
        :param state: State to update for
        :return: