def detect(self, filename, offset, standalone=False):
        """Verifies NTFS filesystem signature.

        Returns:
            bool: True if filesystem signature at offset 0x03 \
            matches 'NTFS    ', False otherwise.
        """
        r = RawStruct(
            filename=filename,
            offset=offset + SIG_OFFSET,
            length=SIG_SIZE)

        oem_id = r.data

        if oem_id == b"NTFS    ":
            return True

        return False
def detect ( self , filename , offset , standalone = False ) : r = RawStruct ( filename = filename , offset = offset + SIG_OFFSET , length = SIG_SIZE ) oem_id = r . data if oem_id == b"NTFS    " : return True return False
Verifies NTFS filesystem signature.

        Returns:
            bool: True if filesystem signature at offset 0x03 \
            matches 'NTFS    ', False otherwise.