code: def testStartCapture_IsDrum(self):
      start_time = 1.0
      captor = self.midi_hub.start_capture(120, start_time)
  
      # Channels are 0-indexed in mido.
      self.capture_messages[2].channel = 9
      self.send_capture_messages()
      time.sleep(0.1)
  
      stop_time = 5.5
      captor.stop(stop_time=stop_time)
  
      captured_seq = captor.captured_sequence()
      expected_seq = music_pb2.NoteSequence()
      expected_seq.tempos.add(qpm=120)
      expected_seq.total_time = stop_time
      testing_lib.add_track_to_sequence(
          expected_seq,
          0,
          [
              Note(1, 64, 2, 5),
              Note(2, 64, 3, 4),
              Note(3, 64, 4, stop_time),
          ],
      )
      expected_seq.notes[0].is_drum = True
      self.assertProtoEquals(captured_seq, expected_seq)
  
imports: import collections
  import queue
  import threading
  import time
  from magenta.common import concurrency
  from magenta.interfaces.midi import midi_hub
  import mido
  from note_seq import testing_lib
  from note_seq.protobuf import music_pb2
  import tensorflow.compat.v1
label_desc: Use image node_id 17 for calling the MidiHubTest obj's underlying member method code with example usage: obj.testStartCapture_IsDrum() without return types