def isfile(self, relpath):
    if self.isignored(relpath):
      return False
    return self._isfile_raw(relpath)
Returns True if path is a file and is not ignored.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/project_tree.py/ProjectTree.isfile