A CACI mission-data component needs to validate whether an input string reads identically from left to right and right to left. Write a function that returns True when the string is a palindrome and False otherwise.
Implement is_palindrome(s), where s is a string. Compare characters exactly as provided: the check is case-sensitive, and spaces, punctuation, and digits are significant. Return a Boolean value.
def is_palindrome(s):