Re-indent and simplify isGetText() and isGetString()
Merge pull request #1 from tkrotoff/master

Re-indent and simplify isGetText() and isGetString()