def METHOD_NAME(stat: Dict[str, Any]) -> StatResult:
    dt = dateutil.parser.isoparse(stat['modification_time'])
    mtime = time.mktime(dt.timetuple())
    if stat['is_dir']:
        typ = FileType.DIRECTORY
    elif stat['is_link']:
        typ = FileType.SYMLINK
    else:
        typ = FileType.FILE
    return StatResult(path=stat['path'], owner=stat['owner'], size=stat['size'],
                      typ=typ, modification_time=mtime)