function filterOptionsByVersion(options, version) {
  options = options.filter((option) => {
    return option.supportedIn.includes(version);
  });
  return options;
}
Filter the options by the version provided by the user
@param {array} options The options to be filtered
@param {string} version The version that will be used
@returns {array} the filtered options related to the version used