def manages(self, account):
account_slug = str(account)<EOL>for organization in self.request.session.get(<EOL>'<STR_LIT>', {}).get('<STR_LIT>', []):<EOL><INDENT>if account_slug == organization['<STR_LIT>']:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Returns ``True`` if the ``request.user`` is a manager for ``account``.
``account`` will be converted to a string and compared
to an organization slug.