```javascript
post.IsRepost = len(post.RepostPostId) != 0
```