code: function forKeys(obj, f) {
          for (var key in obj) {
              if (obj.hasOwnProperty(key) && typeof obj[key] !== 'function') {
                  if (f(key, obj[key])) {
                      break;
                  }
              }
          }
      }
docs: Iterate over an objects keyset