<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):
        ''' Returns True if `interval` seconds have passed since it last ran '''
        if self.lastrun + self.interval < time.time():
            return True
        else:
            return False