<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove(self, annotation):
 """Removes an annotation. Args: annotation (gkeepapi.node.Annotation):
 An Annotation object. Returns: gkeepapi.node.Annotation: The Annotation. """

        if annotation.id in self._annotations:
            del self._annotations[annotation.id]
        self._dirty = True