private function validateToken($token = null)
    {

        if (is_null($token)) {
            return false;
        }
        $decrypted = Crypt::decrypt($token);
        $args      = unserialize($decrypted);
        if (!isset($args['protection_string']) or $args['protection_string'] !== config('antares/search::protection_string')) {
            return false;
        }
        if (!isset($args['app_key']) or $args['app_key'] !== env('APP_KEY')) {
            return false;
        }
        return true;
    }