code: def has_triton() -> bool:
      def is_cuda_compatible_with_triton():
          device_interface = get_interface_for_device("cuda")
          return (
              device_interface.is_available()
              and device_interface.Worker.get_device_properties().major
              >= 7
          )
  
      return is_cuda_compatible_with_triton() and has_triton_package()
  
label_desc: Use image node_id 2 for calling a global function with example usage: has_triton() and returns: unknown, unknown