function isString( str ) {

        return ( typeof str === 'string' ) && str.constructor === String;

    }
it contains static function, the functions will be called by other component in whole project.
The stateless function can be added here.