added isVoteAllowed for commentItem