<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_first(self, name):
 """ Get the first annotation by a given name. """

        for a in self.all_annotations:
            if a.name == name:
                return a
        return None