yotam: add has_attachment indicator to post