var is defined and not empty