rename is_set to hasVar