Skip to main content
1 of 3

Ruby, 54 bytes

 ->a{(b=a.to_s).tr('123456789','1xxxx9x86').reverse==b} 

I don't know, is anonymous functions like that allowed or not