public static bool HasFlag(this PrimUpdateFlags updateFlags, PrimUpdateFlags flag) { return (updateFlags & flag) == flag; } }