def update(self, _id, body, **kwargs):
        if _id in self.resources:
            current = self.resources[_id]
            # if body is a subset of current we don't actually need to update
            if set(current.items()) <= set(body.items()):
                return current
            else:
                return self.__apply(_id, self.client.put, body, **kwargs)
        else:
            raise Exception("{} does not exist!".format(_id))
dataset/ETHPy150Open girder/girder/clients/ansible/girder.py/Resource.update/swapped operands of `<=`