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
(self)
| 101 | return default |
| 102 | |
| 103 | def hasText(self): |
| 104 | """ |
| 105 | Get whether the attribute has I{text} and that it is not an empty |
| 106 | (zero length) string. |
| 107 | @return: True when has I{text}. |
| 108 | @rtype: boolean |
| 109 | """ |
| 110 | return self.value is not None and len(self.value) |
| 111 | |
| 112 | def namespace(self): |
| 113 | """ |
no outgoing calls
no test coverage detected