original_string: protected function isSSLRequest()
      {
          if (isset($_SERVER['HTTPS'])) {
              if ('on' == strtolower($_SERVER['HTTPS'])) {
                  return true;
              }
  
              if ('1' == $_SERVER['HTTPS']) {
                  return true;
              }
          } elseif (isset($_SERVER['SERVER_PORT']) && ('443' == $_SERVER['SERVER_PORT'])) {
              return true;
          }
  
          return false;
      }
code: protected function isSSLRequest()
      {
          if (isset($_SERVER['HTTPS'])) {
              if ('on' == strtolower($_SERVER['HTTPS'])) {
                  return true;
              }
  
              if ('1' == $_SERVER['HTTPS']) {
                  return true;
              }
          } elseif (isset($_SERVER['SERVER_PORT']) && ('443' == $_SERVER['SERVER_PORT'])) {
              return true;
          }
  
          return false;
      }
code_tokens: protected function isSSLRequest ( ) { if ( isset ( $ _SERVER [ 'HTTPS' ] ) ) { if ( 'on' == strtolower ( $ _SERVER [ 'HTTPS' ] ) ) { return true ; } if ( '1' == $ _SERVER [ 'HTTPS' ] ) { return true ; } } elseif ( isset ( $ _SERVER [ 'SERVER_PORT' ] ) && ( '443' == $ _SERVER [ 'SERVER_PORT' ] ) ) { return true ; } return false ; }
docstring: Checks, if application is requested via secure SSL
  
  @return bool
docstring_tokens: Checks if application is requested via secure SSL