def remove_attributes(self, keys):
return [self.attributes.pop(key, None) for key in keys]<EOL>
:param attributes: the keys of attributes to remove from the session
:type attributes: list of strings

:returns: a list of popped attribute values