Check if post type the right way