code: def disable_log_handler(
      logger=pytensor_logger, handler=logging_default_handler
  ):
      if logger.hasHandlers():
          logger.removeHandler(handler)
  
imports: import logging
  import os
  import sys
  from functools import singledispatch
  from typing import Any, NoReturn, Optional
  from pytensor.version import version
  from pytensor.configdefaults import config
  from pytensor.graph.basic import Variable
  from pytensor.graph.replace import clone_replace, graph_replace
  from pytensor import scalar, tensor
  from pytensor.compile import In, Mode, Out, ProfileStats, predefined_linkers, predefined_modes, predefined_optimizers, shared
  from pytensor.compile.function import function, function_dump
  from pytensor.compile.function.types import FunctionMaker
  from pytensor.gradient import Lop, Rop, grad, subgraph_grad
  from pytensor.printing import debugprint
  from pytensor.printing import pp, pprint
  from pytensor.updates import OrderedUpdates
  import pytensor.tensor.random.var
  import pytensor.sparse
  from pytensor.scan import checkpoints
  from pytensor.scan.basic import scan
  from pytensor.scan.views import foldl, foldr, map, reduce
label_desc: Use image node_id 1 for calling a global function with example usage: disable_log_handler(logger, handler) without return types