<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rename(self, name=None, sourceNetwork=None, verbose=False):
 """ Rename an existing network. The SUID of the network is returned :param name (string):
 Enter a new title for the network :param sourceNetwork (string):
 Specifies a network by name, or by SUID if the prefix SUID: is used. The keyword CURRENT, or a blank value can also be used to specify the current network. :param verbose: print more :returns: SUID of the network is returned """

        sourceNetwork=check_network(self,sourceNetwork,verbose=verbose)
        PARAMS=set_param(["name","sourceNetwork"],[name,sourceNetwork])
        response=api(url=self.__url+"/rename", PARAMS=PARAMS, method="POST", verbose=verbose)
        return response