code: def _is_unstaged(vcs_path, vcs_status):
      """Returns True if `vcs_path` (a string) is unstaged in `vcs_status`.
  
      `vcs_status` is the result of `vcs_util.status()` for the parent
      directory of `vcs_path`.
  
      `vcs_path` must be managed by the VCS associated with
      `vcs_status`.
  
      If `vcs_path` is not in `vcs_status`, returns False.
      """
      try:
          path_vcs_status = next(
              filter(
                  lambda fs: vcs_path.startswith(fs.path), vcs_status
              )
          )
      except StopIteration:
          return False
      else:
          return _is_vcs_file_status_unstaged(path_vcs_status)
  
imports: import os
  from guild import cli
  from guild import cmd_impl_support
  from guild import config
  from guild import exit_code
  from guild import run_merge
  from guild import run_util
  from guild import util
  from guild import vcs_util
  from .None import runs_impl
label_desc: Use image node_id 17 for calling a global function with example usage: _is_unstaged(vcs_path, vcs_status) and returns: _is_vcs_file_status_unstaged, False