<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_callback(self, func):
 """ Sets 'callback' parameter. If supplied, the response \ will use the JSONP format with a callback of the given name :param func: A string containing the name of the callback function :raises: TwitterSearchException """


        if isinstance(func, str if py3k else basestring) and func:
            self.arguments.update({'callback': '%s' % func})
        else:
            raise TwitterSearchException(1006)