<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def joined(self, a, b):
 """ Returns True if a and b are members of the same set. """

        mapping = self._mapping
        try:
            return mapping[a] is mapping[b]
        except KeyError:
            return False