Apparently Starbucks (NASDAQ:SBUX) didn't need a nationwide ban to convince it that the time is right to remove trans fats from its foods. (A ban in New York City seems like quite enough.) The coffee giant has removed the substance from the foods in half of its U.S.-based stores this week, and plans to remove it from the rest by later this year.

Trans fats have had a high profile over the course of the last year, along with other criticisms of our national dietary habits. Trans fats are oils that have been chemically altered in order to extend the shelf life of baked goods, among other things. The health downside is that these oils have been found to raise "bad" cholesterol and lower "good" cholesterol.

Last summer, the Center for Science in the Public Interest (CSPI), the organization that also took aim at Yum Brands' (NASDAQ:YUM) KFC in the form of a lawsuit over trans fat content in its foods, criticized the nutritional content of Starbucks' wares as overly fattening. And we all know the same type of criticism has been leveled at other fast-food chains, like McDonald's (NYSE:MCD) and Wendy's (NYSE:WEN).

Last week, I wrote about what seems to be a growing trend to ban things in the public interest, and I'm sure nobody missed the fact that New York City decided to ban trans fats from its restaurant menus, effective this summer. (This move prompted us to come up with a humorous rundown of the top 10 other things New York might ban.) However, given the fact that companies are responding to the health concerns voluntarily, and given the public's growing awareness and the media attention, more bans seem to me to be overkill, although there are other jurisdictions that are considering similar moves.

Of course, the truth is, there are a lot of Starbucks outlets in Manhattan -- fellow Fool Chuck Saletta pointed out in September that there were more than 100 Starbucks within a five-mile radius of the Empire State Building alone. And New York City, of course, is one of the regions where the substance is already cleared out of the stores (others include Washington, D.C.; Seattle; Portland; Boston; Philadelphia; San Francisco; San Diego; Los Angeles; and Chicago).

It's clear that regardless of where the pressure against trans fats came from, the pressure did arrive. As I've made clear in the past, I'm not a big fan of bans that pressure citizens to modify their behavior instead of allowing them to simply make their own educated decisions about what they consume. But the reality is, Starbucks shareholders should be glad the company is addressing what could have been an increasingly sticky situation for public opinion and, of course, sales.

Starbucks is a Motley Fool Stock Advisor recommendation. To find out what other companies David and Tom Gardner have recommended to subscribers, click here for a 30-day free trial.

Alyce Lomax owns shares of Starbucks. The Fool has a disclosure policy.