Python Check Palindrome
def check_palindrome(input_string: str) -> bool:
    return input_string[::-1] == input_string

This compares the string with its reverse. If they match, it is a palindrome.