

def __eq__(self, compare_str):
    if ((self.id == compare_str) or (self.name == compare_str)):
        return True
    else:
        return False

dataset/ETHPy150Open slackhq/python-slackclient/slackclient/_user.py User.__eq__/original