<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getEAnnotation(self, source):
 """Return the annotation with a matching source attribute."""

        for annotation in self.eAnnotations:
            if annotation.source == source:
                return annotation
        return None