quick check for null value