code: function checkValueIsInObject(value, object, message) {
      checkNotEmpty(message, "No error message passed to checkValueIsInObject");
  
      var key = findValueInObject(value, object);
  
      if (typeof key === "undefined") {
          // Make sure the value's actually missing and it's not hidden behind undefined
          if (!(undefined in object && deepEquals(value, object[undefined]))) {
              throw new Error(message);
          }
      }
  }
docs: Checks that the value provided exists under one of the top-level
  keys in the object provided. If it does not, an error is thrown
  containing the message given.
  
  @param {mixed} value - A value to search for
  @param {object} object - An object to search in
  @param {string} message - A message to throw in an Error if the string is empty