def pop(self):
        """
        Pop top item from the agenda.

        :return: top item
        """

        if self.agenda:
            return self.agenda.pop()
        else:
            # TODO: LOG WARNING INSTEAD OF PRINTING
            print('Warning! Attempted to pop an empty agenda.')
            return None

        Pop top item from the agenda.

        :return: top item
        
plato/agent/component/user_simulator/agenda_based_user_simulator/agenda.py