code: def info_check(*args, func=None):
      
      from pcapkit.corekit.infoclass import Info
  
      func = func or inspect.stack()[2][3]
      for var in args:
          if not isinstance(var, Info):
              name = type(var).__name__
              raise InfoError(
                  f'Function {func} expected Info instance, {name} got instead.')
docs: Check if arguments are Info instance.