code: def getEAnnotation(self, source):
          
          for annotation in self.eAnnotations:
              if annotation.source == source:
                  return annotation
          return None
docs: Return the annotation with a matching source attribute.