Don't fall into the trap of thinking it's pure marketing, but don't assume an expensive coffee is automatically better just because they serve it in a nice place either. What is real is that specialty coffee has a completely different process from the plantation to your cup, and that has a real cost. Normal coffees are usually blends of beans from different origins, sometimes lower quality, roasted in large batches and stored for months. Specialty coffee comes from identified farms, it's harvested at the exact moment of ripeness, and it's roasted in small batches with the idea of highlighting the specific characteristics of that bean.
Now, the honest thing is that not all specialty coffees are worth triple the price, and you don't need to spend that kind of money to feel the difference either. What you'll notice if you try a decent one is that the flavor is cleaner, less bitter, with more complex notes. Sometimes certain places charge you extra for that hipster vibe you mentioned, but most specialty coffee shops I know really bet on bean quality and brewing method because they know that's what's going to bring you back.
My advice: try one at a place that sounds serious about coffee, not the one with the prettiest-looking café. Ask where the bean comes from and when it was roasted. If it's recent (less than two weeks) and the barista explains something without sounding like a salesman, you're probably not wasting money. The first time you might not notice much difference because your palate isn't trained yet, but after a few tries you're going to feel it.