class_docstr: Remove exp in queue.
class_docstr_tok: ["Remove","exp","in","queue","."]
code: def check_arguments(self):
      clear_flag = any(
          [
              self.args.all,
              self.args.queued,
              self.args.failed,
              self.args.success,
          ]
      )
      if not (clear_flag ^ bool(self.args.task)):
          raise InvalidArgumentError(
              "Either provide an `tasks` argument, or use the "
              "`--all`, `--queued`, `--failed`, `--success` flag."
          )
  
file_path: dvc/dvc/commands/queue/remove.py
imports: from dvc.cli import formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.exceptions import InvalidArgumentError
  from dvc.log import logger
  from dvc.ui import ui
label_desc: Use image node_id 1 for calling the CmdQueueRemove obj's underlying member method code with example usage: obj.check_arguments() without return types