class_docstr: Base class for repository detection 
class_docstr_tok: ["Base","class","for","repository","detection"]
docstr: Test whether the given script resides in
  a repository type represented by this plugin.
docstr_tok: ["Test","whether","the","given","script","resides","in","a","repository","type","represented","by","this","plugin","."]
code: def exists(self, script_path):
      """
      Test whether the given script resides in
      a repository type represented by this plugin.
      """
      return self._is_repo_type(script_path)
  
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 9 for calling the Detector obj's underlying member method code with example usage: obj.exists(script_path) and returns: self