this could be simplified to `!HasFlag(kXparentBgnd)`, right?