A small optimization to TextManager::HasText().