<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def agenda_changed(self):
 """True if any rule activation changes have occurred."""

        value = bool(lib.EnvGetAgendaChanged(self._env))
        lib.EnvSetAgendaChanged(self._env, int(False))

        return value