<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def close_channel(self):
 """ Invoke this command to close the channel with RabbitMQ by sending the Channel.Close RPC command. """

        self._logger.info('Closing the channel')
        if self._channel:
            self._channel.close()