code: def _check_implied_parameters(self, parameters):
          
          for key, values, implied_keys in self.IMPLIED_PARAMETERS:
              self.log([u"Checking implied parameters by '%s'='%s'", key, values])
              if (key in parameters) and (parameters[key] in values):
                  found = False
                  for implied_key in implied_keys:
                      if implied_key in parameters:
                          found = True
                  if not found:
                      if len(implied_keys) == 1:
                          msg = u"Parameter '%s' is required when '%s'='%s'." % (implied_keys[0], key, parameters[key])
                      else:
                          msg = u"At least one of [%s] is required when '%s'='%s'." % (",".join(implied_keys), key, parameters[key])
                      self._failed(msg)
                      return
          self.log(u"Passed")
docs: Check whether at least one of the keys in implied_keys
          is in ``parameters``,
          when a given ``key=value`` is present in ``parameters``,
          for some value in values.
          Log messages into ``self.result``.
  
          :param dict parameters: the given parameters