<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_primary(self):
 """``True`` if this is a primary key; ``False`` if this is a subkey"""

        return isinstance(self._key, Primary) and not isinstance(self._key, Sub)