code: def is_valid_sse_object(sse):
      
      if sse and sse.type() != "SSE-C" and sse.type() != "SSE-KMS" and sse.type() != "SSE-S3":
          raise InvalidArgumentError("unsuported type of sse argument in put_object")
docs: Validate the SSE object and type
  
      :param sse: SSE object defined.