code: def check_arguments(self):
      if not any(
          [
              self.args.all_commits,
              self.args.rev,
              self.args.queue,
          ]
      ) ^ bool(self.args.experiment):
          raise InvalidArgumentError(
              "Either provide an `experiment` argument, or use the "
              "`--rev` or `--all-commits` or `--queue` flag."
          )
  
file_path: dvc/dvc/commands/experiments/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 CmdExperimentsRemove obj's underlying member method code with example usage: obj.check_arguments() without return types