calamari.io.is_supported_file#

calamari.io.is_supported_file(path)#

Test whether an export can be loaded, including structural validation.

This parses the file rather than inspecting only its signature. Malformed, unsupported and unreadable files return False. Use sniff_format() for cheap format identification, or load() for a diagnostic exception.

Return type:

bool