docs: def _iiOfAny(instance, classes):
      """
      Returns true, if `instance` is instance of any (_iiOfAny) of the `classes`.
  
      This function doesn't use :func:`isinstance` check, it just compares the
      class names.
  
      This can be generally dangerous, but it is really useful when you are
      comparing class serialized in one module and deserialized in another.
  
      This causes, that module paths in class internals are different and
      :func:`isinstance` and :func:`type` comparsions thus fails.
  
      Use this function instead, if you want to check what type is your
      deserialized message.
  
      Args:
          instance (object): class instance you want to know the type
          classes (list): classes, or just the class you want to compare - func
                          automatically converts nonlist/nontuple parameters to
                          list
  
      Returns:
          bool: True if `instance` is instance of any of the `classes`.
      """
      if type(classes) not in [list, tuple]:
          classes = [classes]
  
      return any(map(lambda x: type(instance).__name__ == x.__name__, classes))