code: def _ns(s):
      """Remove namespace, but only if there is a namespace to begin with."""
      if "}" in s:
          return "}".join(s.split("}")[1:])
      else:
          return s
  
file_path: mne-python/mne/io/egi/events.py
imports: from datetime import datetime
  from glob import glob
  from os.path import basename, join, splitext
  import numpy
  from ...utils import _soft_import, logger
label_desc: Use image node_id 5 for calling a global function with example usage: _ns(s) and returns: str, s