I would definitely say yes I have worked with a personal trainer. No man is an island. However, I can tell you what to say if that hasn’t been your experience.
If you haven’t then you haven’t.
On another note, I am unclear as to whether the individual posing the question is asking have you worked with a personal trainer in a collaborative manner or have you hired a personal trainer to help you reach a particular goal.
I’ve done both so I would respond in the affirmative.