def is_file(self, pathobj):
        """
        Returns True if given path is a regular file
        """
        try:
            stat = self.stat(pathobj)

            return not stat.is_dir
        except __HOLE__ as exc:
            if exc.errno != errno.ENOENT:
                raise
            return False
dataset/ETHPy150Open Parallels/artifactory/artifactory.py/_ArtifactoryAccessor.is_file