public static function isSupportedFormat($format): bool
    {
        if ($format) {
            return self::isJpeg($format) || self::isPng($format) || self::isGif($format);
        }

        return false;
    }
public static function isSupportedFormat($format): bool
    {
        if ($format) {
            return self::isJpeg($format) || self::isPng($format) || self::isGif($format);
        }

        return false;
    }
public static function isSupportedFormat ( $ format ) : bool { if ( $ format ) { return self :: isJpeg ( $ format ) || self :: isPng ( $ format ) || self :: isGif ( $ format ) ; } return false ; }
Check is format supported by lib

@param string $format
@return bool
Check is format supported by lib