code: def remove_parenthesis(value: str):
      value = value.strip()
      if value.startswith("(") and value.endswith(")"):
          value = value[1:-1]
      elif value.startswith("[") and value.endswith("]"):
          value = value[1:-1]
      return value
  
file_path: espnet/espnet2/utils/types.py
imports: from distutils.util import strtobool
  from typing import Optional, Tuple, Union
  import humanfriendly
label_desc: Use image node_id 2 for calling a global function with example usage: remove_parenthesis(value) and returns: value