def METHOD_NAME(self, path: str) -> bool:
    '''
    Check if the path is a file
    :param str path: The path to the file to check.  If the path is relative
        it will be exanded to an absolute path
    :return: True if path is a file, False otherwise.
    '''
    return os.path.METHOD_NAME(self.abspath(path))