def pathIsRepo(self, aPath):
        self.__chdirToMatchPath(aPath)
        self.runGit(['status', aPath])
        return self.results['returncode'] == 0
Returns True if the path is in a Git repo, false otherwise.
dataset/ETHPy150Open munki/munkiwebadmin/manifests/models.py/MunkiGit.pathIsRepo