Are compasses magnetic?

Can you answer this question?