Check if data present before attempting to format it