<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_name(self, name="My Colormap"):
 """ Sets the name. Make sure the name is something your OS could name a file. """

        if not type(name)==str:
            print("set_name(): Name must be a string.")
            return
        self._name = name
        return self