Whether the file is a symbolic link. See type.
bool get isFile => mode?.type == SftpFileType.regularFile;