boolean containsOption(String cmd) {
    return Pattern.compile(OPTION_PATTERN).matcher(cmd).find();
  }
Returns true if command contains any options.
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/util/HyphenFormatter.java