#NEWLINE# def check_projector_requirements( self ) : #NEWLINE# #INDENT# '\n        Helper method which returns True if the current request (on this\n        view instance) is required for at least one active projector element.\n        ' #NEWLINE# from openslides.core.models import Projector #NEWLINE# result = False #NEWLINE# if self . request . user . has_perm ( 'core.can_see_projector' ) : #NEWLINE# #INDENT# for requirement in Projector . get_all_requirements ( ) : #NEWLINE# #INDENT# if requirement . is_currently_required ( view_instance = self ) : #NEWLINE# #INDENT# result = True #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return result