public function isAvailable()
    {
        // First, test Imagick's extension and classes.
        if (false === extension_loaded('imagick') ||
            false === class_exists('Imagick') ||
            false === class_exists('ImagickDraw') ||
            false === class_exists('ImagickPixel') ||
            false === class_exists('ImagickPixelIterator')
        ) {
            return false;
        }

        return true;
    }
public function isAvailable()
    {
        // First, test Imagick's extension and classes.
        if (false === extension_loaded('imagick') ||
            false === class_exists('Imagick') ||
            false === class_exists('ImagickDraw') ||
            false === class_exists('ImagickPixel') ||
            false === class_exists('ImagickPixelIterator')
        ) {
            return false;
        }

        return true;
    }
public function isAvailable ( ) { // First, test Imagick's extension and classes. if ( false === extension_loaded ( 'imagick' ) || false === class_exists ( 'Imagick' ) || false === class_exists ( 'ImagickDraw' ) || false === class_exists ( 'ImagickPixel' ) || false === class_exists ( 'ImagickPixelIterator' ) ) { return false ; } return true ; }
Checks if the editor is available on the current PHP install.

@return bool True if available false if not.
Checks if the editor is available on the current PHP install .