<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setnx(self, key, value):
 """Set the value of ``key`` to ``value`` if key doesn't exist"""

        return self.set(key, value, nx=True)