function isMicrosoftBrowser(userAgent) {
      var userAgentPatterns = ['MSIE ', 'Trident/', 'Edge/'];

      return new RegExp(userAgentPatterns.join('|')).test(userAgent);
    }
indicates if a the current browser is made by Microsoft
@method isMicrosoftBrowser
@param {String} userAgent
@returns {Boolean}