Meta interview question

Write a function for testing "endianness."