hasSwitches property

bool get hasSwitches

Check if this command has switches

Implementation

bool get hasSwitches => switches.isNotEmpty;