An Automorphic number is a number which is a suffix of its square in base 10. This is sequence A003226 in the OEIS.
Write a program or function to determine whether an input is an Automorphic number.
An integer between 0 and 10^12 (inclusive), that may or may not be an Automorphic number.
A truthy/falsy value indicating whether or not the input is an Automorphic number.
0 -> truthy 1 -> truthy 2 -> falsy 9376 -> truthy 8212890625 -> truthy
This is code-golf, lowest score in bytes wins.