Check if variable is set