Is the word "narrowness" used in the same way in the following two sentences?

The attraction of the book is precisely its narrowness of focus.

Frustrated by the narrowness of people's horizons.
the same meaning