Yes

There's a follow up too:

Epilogue: The king summons his advisor and says: "The drought is killing our crops, my Barons are revolting, the people are upset over the high taxes and the neighboring monarchs are threatening invasion. What should I do?"

Wise man: "These people...how many of them are wearing hats?"