<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def assure_obj_child_dict(obj, var):
 """Assure the object has the specified child dict """

  if not var in obj or type(obj[var]) != type({}):
    obj[var] = {}
  return obj