public static boolean isCommand(IElementType type){
  return type == SQFTypes.COMMAND_TOKEN || type == SQFTypes.COMMAND || type == SQFTypes.CASE || type == SQFTypes.CASE_COMMAND;
}

public static boolean isCommand ( IElementType type ) { return type == SQFTypes . COMMAND_TOKEN || type == SQFTypes . COMMAND || type == SQFTypes . CASE || type == SQFTypes . CASE_COMMAND ; }
return true if the given type refers to a command , false otherwise
