check for availability of variable