def get_response_attribute_filter(self, template_filter, template_model=None):
if template_filter is None:<EOL><INDENT>return None<EOL><DEDENT>if '<STR_LIT>' not in self.headers:<EOL><INDENT>return None<EOL><DEDENT>attribute_list_str = self.headers['<STR_LIT>']<EOL>json_deserializer = deserializer.JSON()<EOL>attribute_list_dictionary = json_deserializer.loads(attribute_list_str)<EOL>attribute_filter = AttributeFilter(<EOL>from_dictionary=attribute_list_dictionary,<EOL>template_model=template_model<EOL>)<EOL>evaluated_filter = attribute_filter.conforms_to_template_filter(template_filter)<EOL>return evaluated_filter<EOL>
Prestans-Response-Attribute-List can contain a client's requested
definition for attributes required in the response. This should match
the response_attribute_filter_template?

:param template_filter:
:param template_model: the expected model that this filter corresponds to
:return:
:rtype: None | AttributeFilter