Staging: this is not the live site, pydocs.org.
Data Compression and Archiving
Return True if name points to a tar archive that we
are able to handle, else return False.
'name' should be a string, file, or file-like object.
Changed in 3.9
- 3.9: Support for file and file-like objects.