Same here for the undefined check, though together with the not-empty-string check, maybe just go with `if ( label )`?