check if variable set or not