A Switch is just what it sounds like: a setting that is either on or off. If a switch is present on the command line, JSAPResult.getBoolean("yourSwitchID") will return true. Otherwise, it will return false.
Switch
JSAPResult.getBoolean("yourSwitchID")