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

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))