isString = function (object) {
    return typeof object === 'string' ||
        (object && object.constructor && object.constructor.name === 'String');
}
Returns true if object is string, otherwise false

@method isString
@param {Object}
@return {Boolean}