<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reset_kernel(self):

 """Reset kernel of current client."""

        client = self.get_current_client()
        if client is not None:
            self.switch_to_plugin()
            client.reset_namespace()