code: def humanfriendly_parse_size_or_none(value) -> Optional[float]:
      if value.strip().lower() in ("none", "null", "nil"):
          return None
      return humanfriendly.parse_size(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 6 for calling a global function with example usage: humanfriendly_parse_size_or_none(value) and returns: humanfriendly, None