title: How can you detect if current page is AMP?
body: <p>I'm new to AMP and we only want something to happen if the current page is not an AMP page. Is there a universal property on <code>window</code> that we can see if it's defined in order to detect if the current view is AMP or not?</p>
  
  <p>Some background: we're currently delivering a react app through a wordpress plugin and we're noticing some errors that might be from AMP pages only (even though we're not approved to run on AMP pages yet - not sure why our script is still attempting to load), so we'd like to not run our script if the current view is an AMP page.</p>