It’s important to require disclosure of the service fee. In my experience usually listed at the bottom of the menu. I know at least in some instances there are crowdsourced master lists of restaurants with hidden fees, and enforcement of disclosure requirements seems to have stepped up.
If you live in a place where this is becoming the norm, that’s exactly what you do.
A far more above board and less vibes-based way to pay.