def idle(self):
        """Return the client's idle time.

        Idle time is the number of seconds that have elapsed since the client
        last sent us some input.

        :returns float: The idle time, in seconds

        """
        return time.time() - self.last_input_time