Verisign tooling may need to validate character patterns in DNS labels. Given a string, determine whether it is a palindrome, meaning it reads the same from left to right and right to left.
Treat uppercase and lowercase characters as different, and compare every character exactly as provided. Return True for a palindrome and False otherwise. The input contains only letters, digits, hyphens, and periods, and no additional normalization is required.
Implement is_palindrome(text), where text is a non-empty string. Return a Boolean indicating whether text is a palindrome. The comparison must be case-sensitive, and spaces or punctuation, if present, must be treated as ordinary characters.
def is_palindrome(text):