public static function isSeparator($string, $mimeField)
    {
        $separatorList = array(
            self::VARIANT_SEPARATOR,
            self::PARAMS_SEPARATOR,
            self::PARAMS_KV_SEPARATOR
        );

        return in_array($string, $separatorList) || ($mimeField && Tokens::MIME_SEPARATOR === $string);
    }