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;
    }
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;
    }
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 ; }
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
Returns true if the GD PHP extension is available false if otherwise .