def METHOD_NAME(self, key, *elements):
    result = self.sadd(key, *elements)
    # Per the documentation:
    # - 1 if at least 1 HyperLogLog internal register was altered. 0 otherwise.
    return 1 if result > 0 else 0