"Perhaps one of the most fascinating abilities of the mammalian brain, is that it can generate flexible behavior that is generalized across contexts
Yes, it is. It makes learning easy for us.