Verify if a category is the child of another category
Is there a way to verify if a category is child of another category? For example if I have clothes category and in that category I have t-shirts as sub-category. To do something like: is parent category clothes? Yes, so display text. I hope that you understand me. Thanks in advance!