This is actually wrong, but possibly does what you want.  You want `if (!label.empty())`