| DirectlyObjectQ[object] checks, if object was generated by New. |
This loads the package.
First, we create a simple class.
Now, we generate an object.
From now on, the object is known. DirectlyObjectQ does not evaluate its first argument and therefore only recognizes an object directly given. Any other expression, any class included, is not an object. |