def is_initial_state_a_final_one(automaton) -> bool: return automaton.is_final_state(automaton.get_initial_state())