Checks if the value is a palindrome.
static bool isPalindrome(String value) => value == value.split('').reversed.join();