def METHOD_NAME(stats):
  leader, followers = None, []
  for host, stats in list(stats.items()):
    stats['host'] = host
    if stats.get('zk_server_state') == 'leader' or stats.get('zk_server_state') == 'standalone':
      leader = stats
    elif stats.get('zk_server_state') == 'follower':
      followers.append(stats)
  return leader, followers