<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(self, key: Any, value: Any) -> None: """ Sets the value of a key to a supplied value """

        if key is not None:
            self[key] = value