code: def has_double_support(dev):
      for ext in dev.extensions.split(" "):
          if ext == "cl_khr_fp64":
              return True
      return False
  
imports: import pyopencl
  from pytools import memoize
  from typing import Dict, Optional, Tuple
label_desc: Use image node_id 1 for calling a global function with example usage: has_double_support(dev) and returns: False, True