<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_by_label(self, label):
 """ Return the first item with a specific label, or None. """

        return next((x for x in self if x.label == label), None)