move some shared checking code into h2o_kmeans.py
Merge branch 'master' of github.com:0xdata/h2o