If you solve an equaton and you get with 4=4 that actually means there are infinite solutions, beacuse the result you got is absolutely true.
However, if you get 4=1 or 5=3, that means the equation has no solutions beacuse you got a false resulte.
Therefore, the given statement is true.