code: def json_is_base(obj, base):
      
  
      alpha = get_code_string(base)
      if isinstance(obj, (str, unicode)):
          for i in range(len(obj)):
              if alpha.find(obj[i]) == -1:
                  return False
  
          return True
  
      elif isinstance(obj, (int, long, float)) or obj is None:
          return True
  
      elif isinstance(obj, list):
          for i in range(len(obj)):
              if not json_is_base(obj[i], base):
                  return False
  
          return True
  
      else:
          for x in obj:
              if not json_is_base(obj[x], base):
                  return False
  
          return True
docs: Given a primitive compound Python object
      (i.e. a dict, string, int, or list) and a numeric base,
      verify whether or not the object and all relevant
      sub-components have the given numeric base.
      
      Return True if so.
      Return False if not.