'Process the callbacks for the frame if the frame is a method frame
and if it has any callbacks pending.
:param pika.frame.Method frame_value: The frame to process
:rtype: bool'

def _process_callbacks(self, frame_value):

    if (self._is_method_frame(frame_value) and self._has_pending_callbacks(frame_value)):
        self.callbacks.process(frame_value.channel_number, frame_value.method, self, frame_value)
        return True
    return False
