i feel that the hat did serve some purpose it showed the reader that watson is learning something and while he might not be a smart a sherlock holmes he can definitely hold his own and that he is learning and growing a a character character development