@staticmethod<EOL><INDENT>def _should_base64_encode(binary_types, request_mimetype):<DEDENT>
return request_mimetype in binary_types or "<STR_LIT>" in binary_types<EOL>
Whether or not to encode the data from the request to Base64

Parameters
----------
binary_types list(basestring)
    Corresponds to self.binary_types (aka. what is parsed from SAM Template
request_mimetype str
    Mimetype for the request

Returns
-------
    True if the data should be encoded to Base64 otherwise False