<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_url(self):
 """ special function for handling 'multi', refer to Swagger 2.0, Parameter Object, collectionFormat """

        if self.__collection_format == 'multi':
            return [str(s) for s in self]
        else:
            return [str(self)]