Yes, Spotify employs geo-restrictions to keep inhabitants of banned nations out of the music library and to restrict access to the Spotify music library in particular places.