<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def firstAttr(self, *attrs):
 """ Return the first attribute in attrs that is not None. """

        for attr in attrs:
            value = self.__dict__.get(attr)
            if value is not None:
                return value