def hasmethod(obj, meth):
  if hasattr(obj, meth):
    return callable(getattr(obj,meth))
  return False
@summary: Normalizes the queries using the given normalization parameters generated from training data.
dataset/ETHPy150Open nikcub/floyd/floyd/util/object.py/hasmethod--crossover with--dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/QSTK/qstkfeat/featutil.py/normQuery