Since checkLabel() is only called here, and is essentially a one-liner, I think it would be better to just manually inline it here.