Method that checks if a given value is a palindrone