original_string: public static function isGdExtensionEnabled()
      {
          static $gd = null;
          if (is_null($gd)) {
              $gd = false;
  
              $extensions = @get_loaded_extensions();
              if (is_array($extensions)) {
                  $gd = in_array('gd', $extensions) && function_exists('imageftbbox');
              }
          }
  
          return $gd;
      }
code: public static function isGdExtensionEnabled()
      {
          static $gd = null;
          if (is_null($gd)) {
              $gd = false;
  
              $extensions = @get_loaded_extensions();
              if (is_array($extensions)) {
                  $gd = in_array('gd', $extensions) && function_exists('imageftbbox');
              }
          }
  
          return $gd;
      }
code_tokens: public static function isGdExtensionEnabled ( ) { static $ gd = null ; if ( is_null ( $ gd ) ) { $ gd = false ; $ extensions = @ get_loaded_extensions ( ) ; if ( is_array ( $ extensions ) ) { $ gd = in_array ( 'gd' , $ extensions ) && function_exists ( 'imageftbbox' ) ; } } return $ gd ; }
docstring: Returns `true` if the GD PHP extension is available, `false` if otherwise.
  
  _Note: ImageGraph and the sparkline report visualization depend on the GD extension._
  
  @return bool
  @api
docstring_tokens: Returns true if the GD PHP extension is available false if otherwise .