<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_interceptor(self, interceptor):
 """ Adds an interceptor for this map. Added interceptor will intercept operations and execute user defined methods. :param interceptor: (object), interceptor for the map which includes user defined methods. :return: (str),id of registered interceptor. """

        return self._encode_invoke(map_add_interceptor_codec, interceptor=self._to_data(interceptor))