<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def check(self):
        '''Check resource levels.

         Returns:
            None, ResourceInfo: If None is provided, no levels are exceeded.
                Otherwise, the first ResourceInfo exceeding limits is returned.
        '''

        for info in self.get_info():
            if info.free < info.limit:
                return info