def METHOD_NAME(self, file):
    """
    Return whether the given BaseFile looks like a ZIP/Jar.
    """
    header = file.open().read(8)
    return len(header) == 8 and (header[0:2] == b"PK" or header[4:6] == b"PK")