static getPropertyByValue(object, value) {
    return Object.keys(object).find(key => object[key] === value);
  }
Returns the name of the first property of the supplied object whose value is equal to the one
supplied. If nothing is found, `undefined` is returned.

@param object {object} The object to look for the property in.
@param value {*} Any value that can be expected to be found in the object's properties.
@returns {string|undefined} The name of the matching property or `undefined` if nothing is
found.
@static