int GB.CheckObject ( void *object )
Checks an object, i.e. asks the interpreter to check that the object reference is not null, to call the check class hook on this object, then to return the result.
Use this function each time you receive an object reference, and want to ensure that this reference is usable. Returns immediately if GB.CheckObject returns TRUE.