added isEmpty to Text md as check of emptyness