code: def _is_repo_type(self, script_path):
      return VCS_REPO_TYPE.get().lower() == self.type_name and bool(
          VCS_REPOSITORY_URL.get()
      )
  
imports: import abc
  import os
  from subprocess import call, CalledProcessError
  import attr
  import six
  from pathlib2 import Path
  from ....config.defs import VCS_REPO_TYPE, VCS_DIFF, VCS_STATUS, VCS_ROOT, VCS_BRANCH, VCS_COMMIT_ID, VCS_REPOSITORY_URL
  from ....debugging import get_logger
  from .util import get_command_output
label_desc: Use image node_id 2 for calling the EnvDetector obj's underlying member method code with example usage: obj._is_repo_type(script_path) and returns: unknown