function isSwagger(version) {
  return compareVersion(version, VERSION_20.version);
}
Calculates if thew current input is using swagger 2.0 spec
@param {string} version The current spec version
@returns {boolean} True if the current spec is using swagger 2.0 spec