Refactored by removing an extra line of code

spl_autoload_register function already returns True on success and False on failure.