Question d’entretien chez Redbeacon

Write a function to check if the input string is plalindrome?