code: def str2bool(value: str) -> bool:
      return bool(strtobool(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 1 for calling a global function with example usage: str2bool(value) and returns: bool