from otree.api import * from .Constants import * class AgentPage(Page): @staticmethod def is_displayed(player): return player.role != C.LEADER_ROLE