is_archive method

On this page

is_archive

Determines whether the given FileType is an archive format.

def is_archive(cls, file_type):
    ...
Parameter Type Description
file_type FileType The FileType object.

Returns: bool: True if the input FileType is an archive format; otherwise, False.

See Also

On this page