code: def _check_one_file(self, target):
      result = self.ignore_filter.check_ignore(target)
      self._show_results(result)
      if result.match:
          return 0
      return 1
  
file_path: dvc/dvc/commands/check_ignore.py
imports: from dvc.cli import completion, formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.ui import ui
label_desc: Use image node_id 3 for calling the CmdCheckIgnore obj's underlying member method code with example usage: obj._check_one_file(target) and returns: int, int