'Get whether the attribute has I{text} and that it is not an empty
(zero length) string.
@return: True when has I{text}.
@rtype: boolean'

def hasText(self):

    return ((self.value is not None) and len(self.value))
