code: def has_pool_type(m):
      "Return `True` if `m` is a pooling layer or has one in its children"
      if _is_pool_type(m):
          return True
      for l in m.children():
          if has_pool_type(l):
              return True
      return False
  
imports: from __future__ import annotations
  from packaging.version import parse
  from ..basics import *
  from .core import *
  from .data import *
  from .augment import *
  from .None import models
  import torchvision
  from ..callback.hook import num_features_model
label_desc: Use image node_id 2 for calling a global function with example usage: has_pool_type(m) and returns: False, True, True