This is useless. You can do an instanceof on non-existent classes as it does not trigger the autoloading (a PHP object knows all the classes it inherits from and instanceof simply uses this list)