Can't you google how to check for null or empty values?