def is_palindrome(s : str) -> bool:
    """
    Checks if a given string is palindrome or not.
    A string is said to be palindrome if the reverse of the string is the same as string.

    Parameters:
        s: The string to be checked.

    Returns:
        True if string is palindrome, otherwise False.

    """
    if s == s[::-1]:
        return True
    else:
        return False