I had misnamed the variable in the post. I added the column is_announcement in the SQL query, but I named it is_announcements in the post class.
is_announcement
is_announcements