As part of automated validation for ASM Technologies test inputs, determine whether a given string is a palindrome. A palindrome reads the same from left to right and right to left.
Implement a function that compares characters exactly. Matching is case-sensitive, and spaces, punctuation, and other characters must be treated as part of the string.
Given a string text, return a Boolean value:
True if text is a palindrome.False otherwise.def is_palindrome(text):