Check if data exists.