check for variable existence