Not a big deal but you can just `return *(*byte)(unsafe.Pointer(&x)) == 0x01` here.

Also could we maybe get a comment on this func explaining why we are doing this check?