It is rather easy to check whether an infinite language is non-regular or not. Here are a few tips:
Check whether any alphabet /string comparisons are being done. If yes, then non-regular.
Check whether any counting process is involved that requires a stack to remember alphabets. If yes, then non-regular.
Check whether any non-linear powers are involved in any alphabet. If yes, then non-regular
A sure method is to draw the DFA/NFA and write the correct regular expression. If this is possible, then regular.
To check whether a DFA is correct or not is to ensure that it accepts strings $a\in L$ and rejects strings $a\notin L$.