set boolean to true if boolean way-attr passed with no value