Y fitting going against flow

This is a bathroom sink drain for a double sink. Is it ok or allowed to have a Y fitting aimed or going against the drain flow?


No. That’s a hack job.

Amateurish plumbing. improper fitting orientation, unserviceable trap…

Sanitary tees as pictured are not to be on their back.

Wrong fitting. Hack work.