private boolean cmdRequiresStream(String cmd){
  for (  String prefix : streamCmdsPrefix) {
    if (cmd.startsWith(prefix)) {
      return true;
    }
  }
  return streamCmds.contains(cmd);
}

private boolean cmdRequiresStream ( String cmd ) { for ( String prefix : streamCmdsPrefix ) { if ( cmd . startsWith ( prefix ) ) { return true ; } } return streamCmds . contains ( cmd ) ; }
check if this command requires at least one stream / channel parameter .
