# Does Improved Grapple Increase CMD against escape?

I'm learning the PF grappling rules, and was inspecting the Improved Grapple feat (D20PFSRD). It states

You also receive a +2 bonus to your Combat Maneuver Defense whenever an opponent tries to grapple you.

And the grapple rule states

If you are grappled, you can attempt to break the grapple as a standard action by making a combat maneuver check (DC equal to your opponent's CMD; this does not provoke an attack of opportunity) or Escape Artist check (with a DC equal to your opponent's CMD).

So, does the Improved Grapple feat increase the CMD for purposes of resisting a character breaking out of grapple?