<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_preferred(self,preferredLayout=None,verbose=None):
 		""" 		Sets the preferred layout. Takes a specific name as defined in the API 		Default is grid. 		:param preferredLayout (string, optional):
 Layout to use as preferred, for 			allowed names see Layout API 		"""

		PARAMS=set_param(['preferredLayout'],[preferredLayout])
		response=api(url=self.__url+"/set preferred", PARAMS=PARAMS, method="POST", verbose=verbose)
		return response