Update the class_exists() call to funciton_exists(), as it's now a function
Update the class_exists() call to funciton_exists(), as it's now a function

Instead of class method,
this now uses a plain function.

ampproject/amp-toolbox-php,ampproject/amp-toolbox-php