code: def get_s3_origin_conf_class():
      
      if LooseVersion(troposphere.__version__) > LooseVersion('2.4.0'):
          return cloudfront.S3OriginConfig
      if LooseVersion(troposphere.__version__) == LooseVersion('2.4.0'):
          return S3OriginConfig
      return cloudfront.S3Origin
docs: Return the correct S3 Origin Config class for troposphere.