Given Some(DFA) = {|A is a DFA and L(A) is not empty and L(A) is not equal to Σ^(*)}
Show Some(DFA) is decidable.
I produced the following answer and wanted to check if I am correct
T="On input where A is a DFA: 1.Mark the start state of A 2.Repeat until no new state gets marked -Mark any state that has a transition coming into it from any state that is already marked 3.If every state is marked is an accepting state or no accepting state is marked. Reject. 4.Otherwise, accept input
Thanks for any help/advice in advance.