and looking close at it, i think `if ($metadata->mappings[$field]['nullable']) {` would be good enough. we can validate in the metadata parsing that there is only a boolean in that field.