check if post is in collection