Create a Python function that determines whether a word is a palindrome.
def is_palindrome(word):
    reverse_word = word[::-1]
    if word == reverse_word:
        return True
    else:
        return False

result = is_palindrome("madam")
print(result)