Drw QA test labels occasionally use mirrored identifiers for fixture validation. Write a function that returns whether a string is a palindrome.
A palindrome reads exactly the same from left to right and right to left. Compare every character as provided: comparisons are case-sensitive, and spaces or punctuation count as characters.
Implement is_palindrome(text).
text, a string.True if text is a palindrome, otherwise False.def is_palindrome(text):