code: def _home_mount_cmds(enable_home_mount: bool) -> List[str]:
      """Returns the argument needed by Docker to mount a user's local home directory
      into the home directory location inside their container.
  
      If enable_home_mount is false returns an empty list.
  
      """
      ret = []
      if enable_home_mount:
          ret = ["-v", "{}:{}".format(Path.home(), b.container_home())]
      return ret
  
file_path: caliban/caliban/platform/shell.py
imports: import os
  from pathlib import Path
  from typing import List, Optional
  import caliban.config
  import caliban.docker.build
  import caliban.platform.run
label_desc: Use image node_id 1 for calling a global function with example usage: _home_mount_cmds(enable_home_mount) and returns: ret