code: def _has_handlers(logger):
      return logger.hasHandlers()
  
file_path: h2o-3/h2o-py/tests/testdir_utils/pyunit_logger.py
imports: import sys
  import logging
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _has_handlers(logger) and returns: logger