Update isVoteValid so that it uses the new ExecutionContextInterface