project completed!

consolidated isString() method in single function