Check the label variable has been defined.