Do a post type check before trying to broadcast.