src/DetectDefaults.php
private function getMeteredDefault()
  {
    foreach( self::METERED_HEADERS as $header )
    {
      if( array_key_exists( $header, $_SERVER ) )
      {
        return true;
      }
    }

    return false;
  }
private function getMeteredDefault()
  {
    foreach( self::METERED_HEADERS as $header )
    {
      if( array_key_exists( $header, $_SERVER ) )
      {
        return true;
      }
    }

    return false;
  }
private function getMeteredDefault ( ) { foreach ( self :: METERED_HEADERS as $ header ) { if ( array_key_exists ( $ header , $ _SERVER ) ) { return true ; } } return false ; }
Uses potential mobile headers & Google's new 'save-data' header to determine if we have a metered connection.

* Reference for 'save-data': https://developers.google.com/web/updates/2016/02/save-data

@return bool
Uses potential mobile headers & Google s new save - data header to determine if we have a metered connection .