const bool& fieldIsSet(const void* object, ptrdiff_t offset) {
  return *reinterpret_cast<const bool*>(
      offset + static_cast<const char*>(object));
}
const bool& fieldIsSet(const void* object, ptrdiff_t offset) {
  return *reinterpret_cast<const bool*>(
      offset + static_cast<const char*>(object));
}