If you attack a neighbour who has a Great Building providing a defensive boost, then his military units on the battlefield will have a little shield, indicating their defensive values have been boosted.
(I am not sure whether this answers your question.. if not, please re-phrase)
Edit: didn't see you already got an answer.