@staticmethod<EOL><INDENT>def _should_base64_decode_body(binary_types, flask_request, lamba_response_headers, is_base_64_encoded):<DEDENT>
best_match_mimetype = flask_request.accept_mimetypes.best_match([lamba_response_headers["<STR_LIT:Content-Type>"]])<EOL>is_best_match_in_binary_types = best_match_mimetype in binary_types or '<STR_LIT>' in binary_types<EOL>return best_match_mimetype and is_best_match_in_binary_types and is_base_64_encoded<EOL>
Whether or not the body should be decoded from Base64 to Binary

Parameters
----------
binary_types list(basestring)
    Corresponds to self.binary_types (aka. what is parsed from SAM Template
flask_request flask.request
    Flask request
lamba_response_headers dict
    Headers Lambda returns
is_base_64_encoded bool
    True if the body is Base64 encoded

Returns
-------
True if the body from the request should be converted to binary, otherwise false