Addded isString() method