function createConstantProperty(value) {
  return new ConstantProperty(value);
}
Determines if this object has defined a property with the given name.

@param {string} propertyName The name of the property to check for.

@returns {boolean} True if this object has defined a property with the given name, false otherwise.