CXX-189 Use hasField to introspect command object