perform the correct equality check for Uint8Array vs TA.Uint8Array