def METHOD_NAME(self, proposal):
    if "request" in self.context:
        user = self.context["request"].user
        has_voting_permission = user.has_perm(
            "meinberlin_budgeting.vote_proposal", proposal
        )
        is_three_phase_budgeting = proposal.module.blueprint_type == "PB3"
        return has_voting_permission and is_three_phase_budgeting
    return False