<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_valid_sse_object(sse):
 """ Validate the SSE object and type :param sse: SSE object defined. """

    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")