A number is considered slidey if for every digit in the number, the next digit from that has an absolute difference of one. Check the examples below.
is_slidey(123454321) ➞ True
is_slidey(54345) ➞ True
is_slidey(987654321) ➞ True
is_slidey(1123) ➞ False
is_slidey(1357) ➞ False