<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inHouseJoy(self):
 """ Returns if the object is in its house of joy. """

        house = self.house()
        return props.object.houseJoy[self.obj.id] == house.id