code: function getLocaleFrom(req, locales) {
        if (!req) return false;
        var preferredLocales = getLocalesFrom(req);
        return preferredLocales && preferredLocales[0];
      }
docs: gets the locale from the given strategy
  
  @param {Object} req              connect / express request object
  @param {Array} locales           locale definition Array.
  @return {Object|String|false}    Object: if it was previously stored, String: if the locale was found with the given Strategy, Boolean:false otherwise.