Guard vs Turret. The guard does not attack the turret

Hello.
The guard can only attack agents. There is no agent in interactive devices like turrets.
Is that why the guards aren’t attacking the turret structure?