code: def _is_svc(svc_path):
      '''
      Return ``True`` if directory <svc_path> is really a service:
      file <svc_path>/run exists and is executable
  
      svc_path
          the (absolute) directory to check for compatibility
      '''
      run_file = os.path.join(svc_path, 'run')
      if (os.path.exists(svc_path)
           and os.path.exists(run_file)
           and os.access(run_file, os.X_OK)):
          return True
      return Falsf _is_svc(svc_path):
      '''
      Return ``True`` if directory <svc_path> is really a service:
      file <svc_path>/run exists and is executable
  
      svc_path
          the (absolute) directory to check for compatibility
      '''
      run_file = os.path.join(svc_path, 'run')
      if (os.path.exists(svc_path)
           and os.path.exists(run_file)
           and os.access(run_file, os.X_OK)):
          return True
      return False
docs: Return ``True`` if directory <svc_path> is really a service:
      file <svc_path>/run exists and is executable
  
      svc_path
          the (absolute) directory to check for compatibility