code: def _is_comment(rule):
      return rule.startswith("#")
  
file_path: dvc/dvc/pathspec_math.py
imports: from collections import namedtuple
  from pathspec.util import normalize_file
  from dvc.utils import relpath
label_desc: Use image node_id 2 for calling a global function with example usage: _is_comment(rule) and returns: rule