For instance virDomainGetMetadata takes a uri string which is conditionally nullable
This should apply to virConnectOpen as well
This will probably apply to all pointer types
This means in our type check we should check for napi_null/napi_undefined as well as the type