code: def warn(msg):
      try:
          if in_ipython():
              import IPython
  
              IPython.utils.warn.warn(msg)
              return
      except:
          "ok"
      warnings.warn(RuntimeWarning(msg))
  
imports: import hashlib
  import json
  import logging
  import os
  import pandas
  import pandas.util
  import platform
  import random
  import string
  import uuid
  import warnings
  from functools import lru_cache
  from typing import Any
  from collections import UserDict
  from .constants import VERBOSE, CACHE_COERCION_SIZE, TRACE
label_desc: Use image node_id 14 for calling a global function with example usage: warn(msg) without return types