code: def verify_ks(model, data):
      print(model.gains_lift())
      ks = model.kolmogorov_smirnov()
      print(ks)
      ks_verification = ks_metric(model, data)
      print(ks_verification)
      assert round(ks, 5) == round(ks_verification, 5)
  
imports: import sys
  import h2o
  from h2o.estimators import H2OGradientBoostingEstimator, H2OXGBoostEstimator
  from tests import pyunit_utils
label_desc: Use image node_id 2 for calling a global function with example usage: verify_ks(model, data) without return types