<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def isDescendantOf(self, other):
    '''Returns whether this Key is a descendant of `other`.

        >>> Key('/Comedy/MontyPython').isDescendantOf(Key('/Comedy'))
        True

    '''
    if isinstance(other, Key):
      return other.isAncestorOf(self)
    raise TypeError('%s is not of type %s' % (other, Key))