TarInfo.isblk()

Return True if it is a block device.

Related Reading

tarfile — Read and write tar archive files