The work product of an attorney other than a writing described in subdivision a is not discoverable unless the court d…