code: def test_is_dvc_internal(dvc):
      assert dvc.is_dvc_internal(
          os.path.join("path", "to", ".dvc", "file")
      )
      assert not dvc.is_dvc_internal(
          os.path.join("path", "to-non-.dvc", "file")
      )
  
file_path: dvc/tests/unit/repo/test_repo.py
imports: import os
  import shutil
  import pytest
  from dvc.exceptions import OutputDuplicationError
  from dvc.repo import NotDvcRepoError, Repo, locked
  from dvc_data.hashfile.hash_info import HashInfo
label_desc: Use image node_id 1 for calling a global function with example usage: test_is_dvc_internal(dvc) without return types