<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _checkIdEquality(self, requestedEffect, effect):
 """ Tests whether a requested effect and an effect present in an annotation are equal. """

        return self._idPresent(requestedEffect) and (
            effect.term_id == requestedEffect.term_id)