code: def get_seed(rnd=None):
      if rnd is None:
          return random.randint(*SEEDRANGE)
      else:
          try:
              return rnd.integers(*SEEDRANGE, dtype=int)
          except Exception:
              return rnd.randint(*SEEDRANGE)
  
imports: import random
  import sacred.optional
  from sacred.settings import SETTINGS
  from sacred.utils import module_is_in_cache
label_desc: Use image node_id 1 for calling a global function with example usage: get_seed(rnd) and returns: random, rnd, rnd