code: def _may_have_svm(dev):
      has_svm = dev.platform._get_cl_version() >= (
          2,
          0,
      ) and cl.get_cl_header_version() >= (2, 0)
  
      if dev.platform.name == "Portable Computing Language":
          has_svm = get_pocl_version(dev.platform) >= (
              1,
              0,
          ) and cl.get_cl_header_version() >= (2, 0)
  
      return has_svm
  
imports: import pyopencl
  from pytools import memoize
  from typing import Dict, Optional, Tuple
label_desc: Use image node_id 15 for calling a global function with example usage: _may_have_svm(dev) and returns: has_svm