def isfile(self, relpath):
    """Returns True if path is a file and is not ignored."""
    if self.isignored(relpath):
      return False
    return self._isfile_raw(relpath)
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.