Replace resource intensive check for empty text property.