code: def __json_truefalse_parse(json_object):
          
          for key in ('follow', 'favourite', 'reblog', 'mention'):
              if (key in json_object and isinstance(json_object[key], six.text_type)):
                  if json_object[key] == 'True':
                      json_object[key] = True
                  if json_object[key] == 'False':
                      json_object[key] = False
          return json_object
docs: Parse 'True' / 'False' strings in certain known fields