Probably. San Francisco, blessed with natural beauty rivalled by few cities in the world, became a moral sewer decades ago. Allowing people to urinate and defecate in the streets is entirely fitting to its current social mileau.
May the judges strike the law down and allow San Francisco residents to indulge fully and freely in filth of very kind. Let their noses, mouths, and eyes be filled with such an excess of filth that they choke.
Except for the high taxes, San Francisco is a libertarian paradise.