'Return true if there are any callbacks pending for the specified
frame.
:param pika.frame.Method value: The frame to check
:rtype: bool'

def _has_pending_callbacks(self, value):

    return self.callbacks.pending(value.channel_number, value.method)
