Detect already escaped ampersands

Our customer was sending us XML with the ampersand already escaped. This detects those cases and safely ignores them.