<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def seconds_remaining(self, ttl):
 """Return number of seconds left before Imgur API needs to be queried for this instance. :param int ttl: Number of seconds before this is considered out of date. :return: Seconds left before this is expired. 0 indicated update needed (no negatives). :rtype: int """

        return max(0, ttl - (int(time.time()) - self.mod_time))