Docs
NO JS handling.
includes/evf-core-functions.php
Check whether the current page is in AMP mode or not.