public boolean isTransientFlagSet(TransientFlag flag) { return flag != null && (transient_flags & flag.value()) == flag.value(); }
public Message clearTransientFlag(TransientFlag... flags) { if (flags != null) for (TransientFlag flag : flags) if (flag != null) transient_flags &= ~flag.value(); return this; }