code: function checkSupport(win) {
        //TODO: Make win do something in the future
        //TODO: Make these warnings hidden in production mode
        if (typeof win === 'undefined' || !win.document) {
            //If on the server, probably using SSR and should use hashbanged = true plus a basic url
            console.warn('The history API for hobbit-navigator was executed on the\n            server, if this is an expected bahavior (For example, when using SSR),\n            set the location manually to display the intended content.');
            return false;
        } else if (!win.history || !win.history.pushState) {
            console.warn('It seems you are not using a browser with HTML5 history\n            support. Hobbit-navigator will cause the page to refresh rather\n            than navigate smoothly. Use a polyfil to prevent this issue.');
            return false;
        }
        return true;
    }
docs: <p>
  Function that checks if the browser supports the history API is supported by
  the current browser or not. It will also trigger warnings in the browser's
  console depending on the detected support.
  </p>
  <p>
  The function can detect if it is called on an unsupported browser or the
  server.
  </p>
  @returns {boolean} Whether the html5 history API is supported or not.
  @function checkSupport