<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hasmethod(obj, meth):
 """ Checks if an object, obj, has a callable method, meth return True or False """

  if hasattr(obj, meth):
    return callable(getattr(obj,meth))
  return False