The lens and body "work together" Lens tries to compensate X and Y shift movement, body tries to compensate roll, yaw and pitch movement.
System can only be "all on" or "all off".
OSS in the lens works also with the first generation A7 cameras, which do not have "in body" stabilization.