function canVote(uint _postId)
        public
        view
        returns (bool)
    {
        if(_postId > posts.length - 1) return false;

        Post storage p = posts[_postId];    
        return (p.voters[msg.sender] == Ballot.NONE);
    }