isWebsocketSupport = () => {
  if ('WebSocket' in window) {
    return true;
  }
  return false;
}
Returns true if the browser supports websockets otherwise return false.
@return {Boolean} is web-sockets supported.