But why is there no way to check if a handle is null,
before having the engine issue a warning.

There must a a "right" way to handle this.
Or did the engine creators forget about this
(rather standard) case?
some command like ptr_is_valid(handleid);


by lowering the warn_level I would miss other errors,
that could come up.