Checks if a post belongs to a category descendant. Starts looking from a parent category to bottom.