def can_update_topics_to_announces(self, forum, user):
        """ Given a forum, checks whether the user can change its topic types to announces. """
        return (
            self._perform_basic_permission_check(forum, user, 'can_edit_posts') and
            self._perform_basic_permission_check(forum, user, 'can_post_announcements')
        )
def can_update_topics_to_announces ( self , forum , user ) : return ( self . _perform_basic_permission_check ( forum , user , 'can_edit_posts' ) and self . _perform_basic_permission_check ( forum , user , 'can_post_announcements' ) )
Given a forum, checks whether the user can change its topic types to announces.