code: def _check_default_logger():
      if _default_logger is None:
          raise ValueError(
              "default logger is not configured. "
              "Call tensorboard_logger.configure(logdir), "
              "or use tensorboard_logger.Logger"
          )
  
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 6 for calling a global function with example usage: _check_default_logger() without return types