How would you write a function that checks if a string is a palindrome, without using prototypal methods or built-in String/Array methods? Implement is_palindrome(s) to return a boolean based on exact character order, with case and whitespace treated as significant. Do not use reversal, slicing, or string and array methods; the input is a string and the output is True or False.
def is_palindrome(s):