Intel Corporation Interview Question

write a function that identifies self-descriptive number.