<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def info_msg_callback(self, callback):
 """Set the info message callback."""

        if callable(callback):
            self._info_msg_callback = callback
        else:
            self._info_msg_callback = None