parameters: ()
docstring: String generator, return random empire name from string list,
      if string list is empty generate random name.
docstring_summary: String generator, return random empire name from string list,
      if string list is empty generate random name.
docstring_tokens: String generator return random empire name from string list if string list is empty generate random name .
function: def get_empire_name_generator():
      """
      String generator, return random empire name from string list,
      if string list is empty generate random name.
      """
      empire_names = get_name_list("EMPIRE_NAMES")
      random.shuffle(empire_names)
      while True:
          if empire_names:
              yield empire_names.pop()
          else:
              yield random_name(5)
function_tokens: def get_empire_name_generator ( ) : empire_names = get_name_list ( "EMPIRE_NAMES" ) random . shuffle ( empire_names ) while True : if empire_names : yield empire_names . pop ( ) else : yield random_name ( 5 )