Revert "'isObjectOfClassNotNull' class helper has been added."

This reverts commit 3d39cdf4a0b3e0f866bd8deefbda7f0240e4585e.