Is Turret Aimed To Target

public virtual bool IsTurretAimedToTarget(Unit target)

Returns true if the unit’s Turret module is looking at the target, otherwise returns false.

Note

If the unit has no Turret module, this method always returns true.