code: def get_hook_container(record_keeper, **kwargs):
      if record_keeper:
          return HookContainer(record_keeper, **kwargs)
      else:
          c_f.LOGGER.warning(
              "No record_keeper, so no preset hooks are being returned."
          )
          return EmptyContainer()
  
imports: import os
  import sqlite3
  import torch
  from .None import common_functions
label_desc: Use image node_id 2 for calling a global function with example usage: get_hook_container(record_keeper) and returns: HookContainer, EmptyContainer