Determine if a variable is set and is not NULL