afaik this check is safe, and much faster than `->IsUint32()`.