code: def _check_step(self, step):
      if step is not None and not isinstance(step, six.integer_types):
          raise TypeError(
              '"step" should be an integer, got {}'.format(type(step))
          )
  
imports: from collections import defaultdict
  import os
  import re
  import socket
  import struct
  import time
  import numpy
  import six
  import scipy.misc
  from .crc32c import crc32c
label_desc: Use image node_id 3 for calling the Logger obj's underlying member method code with example usage: obj._check_step(step) without return types