code: def valid_anytype(val):
      
      for validator in VALIDATOR.values():
          if validator == valid_anytype:  # To hinder recursion
              continue
          try:
              if validator(val):
                  return True
          except NotValid:
              pass
  
      if isinstance(val, type):
          return True
  
      raise NotValid("AnyType")
docs: Goes through all known type validators
  
      :param val: The value to validate
      :return: True is value is valid otherwise an exception is raised