code: function isDynamoDBEventNameValid(recordOrEventName) {
    const eventName = recordOrEventName.eventName ? recordOrEventName.eventName : recordOrEventName;
    return eventName === DynamoDBEventName.INSERT || eventName === DynamoDBEventName.MODIFY || eventName === DynamoDBEventName.REMOVE;
  }
docs: Returns true if the given DynamoDB event name OR given DynamoDB stream event record's eventName is valid; false otherwise
  @param {string|DynamoDBEventRecord} recordOrEventName - a DynamoDB event name OR DynamoDB stream event record
  @returns {boolean} true if valid; false otherwise