Kumaran Systems support utilities may need to validate identifiers that must read the same from left to right and right to left. Write a function that determines whether a given string is a palindrome without using a built-in palindrome function or reversing the string.
Implement is_palindrome(text), where text is a string. Return True if the characters appear in the same order from both directions, and return False otherwise. Treat uppercase and lowercase letters as different characters, and consider spaces and punctuation as ordinary characters.
def is_palindrome(text):