Screen\Image\Types::isAvailable PHP Method

isAvailable() public static method

Check if an image type is available
public static isAvailable ( $type ) : boolean
$type
return boolean
    public static function isAvailable($type)
    {
        return in_array(strtolower($type), static::available());
    }