code: def _validate_augmenter(cls, method, action):
      if method not in Method.getall():
          raise ValueError(
              "Method must be one of {} while {} is passed".format(
                  Method.getall(), method
              )
          )
  
      if action not in Action.getall():
          raise ValueError(
              "Action must be one of {} while {} is passed".format(
                  Action.getall(), action
              )
          )
  
imports: import math
  import random
  import numpy
  import pandas
  from multiprocessing.dummy import Pool
  from nlpaug.util import Action, Method, WarningException, WarningName, WarningCode, WarningMessage
label_desc: Use image node_id 2 for calling the Augmenter obj's underlying member method code with example usage: obj._validate_augmenter(cls, method, action) without return types