Added System.isGWMode function.

Added System.isGWMode function.