code: function keyInArray(keys) {
    var keySet = Immutable.Set(keys);
    return function (v, k) {
  
      return keySet.has(k);
    }
  }
docs: From Immutable docs - https://github.com/facebook/immutable-js/wiki/Predicates