def __new__(cls, **kwargs):
        # PRecord does some crazy stuff, thus _precord_buckets; see
        # PRecord.__new__.
        if kwargs not in "_precord_buckets":
            if "uuid" not in kwargs:
                # See https://clusterhq.atlassian.net/browse/FLOC-1795
                warn("UUID is required, this is for backwards compat with "
                     "existing tests. If you see this in production code "
                     "that's a bug.", DeprecationWarning, stacklevel=2)
                kwargs["uuid"] = ip_to_uuid(kwargs["hostname"])
        return PRecord.__new__(cls, **kwargs)
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_model.py/NodeState.__new__/swapped operands of `not in`