check = function (value) {
        for (var i in supported) {
            var plat = supported[i];
            if (plat.local === value) {
                return true;
            }
        }
        return false;
    }
check to see if a given set of platform labels are supported

@param platforms to check, can be a platform label string or an array of platform label strings
@return array of valid platforms