Finds whether a variable is NULL