code: function checkOptions(
    { jdlObject, applicationSettings, applicationsPerEntityName } = {
      applicationSettings: {},
      applicationsPerEntityName: {}
    }
  ) {
    if (!jdlObject) {
      throw new Error('A JDL object has to be passed to check its options.');
    }
    configuration = {
      jdlObject,
      applicationSettings,
      applicationsPerEntityName
    };
    jdlObject.getOptions().forEach(option => {
      checkOption(option);
    });
  }
docs: Checks whether the passed JDL options are valid.
  @param jdlObject the JDL object containing the options to check.
  @param applicationSettings the application configuration.
  @param applicationsPerEntityName applications per entity entity name.