The easy way to tell is remove the hoses from the adaptor on the block. Spin that drill up CCW and you will have
oil shooting out ONE of the big fittings (and the pressure line outlet.) That is the line that goes to the filter inlet. The other should be the return from the cooler.