<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ctcp_reply(self, target, ctcp_verb, argument=None):
 """Send a CTCP reply to the given target."""

        # we don't support complex ctcp encapsulation because we're somewhat sane
        atoms = [ctcp_verb]
        if argument is not None:
            atoms.append(argument)
        X_DELIM = '\x01'
        self.notice(target, X_DELIM + ' '.join(atoms) + X_DELIM, formatted=False)