package utils func IsGREASEUint16(v uint16) bool { // First byte is same as second byte // and lowest nibble is 0xa return ((v >> 8) == v&0xff) && v&0xf == 0xa }