Intel Corporation interview question

write a function that identifies self-descriptive number.