code: function getEnvironment() {
    if (isSuperSandboxedIframe()) {
      return 89;
    } else if (isDfpInAmp()) {
      return 5;
    } else if (isDfp()) {
      return 4;
    } else if (isAmp()) {
      return 1;
    } else if (isDFPSafeFrame()) {
      return 11;
    } else if (isSafeFrame()) {
      return 10;
    } else if (isMraid()) {
      return 2;
    } else if (isCodeOnPage()) {
      return 0;
    } else if (isSandboxedIframe()) {
      return 16;
    } else {
      return 90;
    }
  }
docs: Represents a method for loading Yieldmo ads.  Environments affect
  which formats can be loaded into the page
  Environments:
  CodeOnPage: 0, // div directly on publisher's page
  Amp: 1, // google Accelerate Mobile Pages ampproject.org
  Mraid = 2, // native loaded through the MRAID spec, without Yieldmo's SDK https://www.iab.net/media/file/IAB_MRAID_v2_FINAL.pdf
  Dfp: 4, // google doubleclick for publishers https://www.doubleclickbygoogle.com/
  DfpInAmp: 5, // AMP page containing a DFP iframe
  SafeFrame: 10,
  DfpSafeFrame: 11,Sandboxed: 16, // An iframe that can't get to the top window.
  SuperSandboxed: 89, // An iframe without allow-same-origin
  Unknown: 90, // A default sandboxed implementation delivered by EnvironmentDispatch when all positive environment checks fail
   
  Detects what environment we're in
  @returns Environment kind