AC condensate pipe into drain line

Ok or not o.k. with a y check valve?

Definitely not. There must be an air gap–no direct connection. Or it can discharge outdoors, above grade. A common example is the drain going into the washing machine drain. Also, it appears as if the condensate drain is flowing uphill.