<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def prepare_for_sending(self):
 """The configuration needs to be serialized before being sent to a spare arbiter :return: None """

        if [arbiter_link for arbiter_link in self.arbiters if arbiter_link.spare]:
            logger.info('Serializing the configuration for my spare arbiter...')

            # Now serialize the whole configuration, for sending to spare arbiters
            self.spare_arbiter_conf = serialize(self)