def throttled(self):
        """
        Return True if we are connected but currently throttled.
        """
        if self.state is not ConnectionStates.CONNECTED:
            return False
        return self.throttle_delay() > 0

        Return True if we are connected but currently throttled.
        
kafka/conn.py