isPalidrome private