have a habit of有....习惯
He had a habit of eating fingers while reading.
I have a habit of taking a walk after supper.
A:Where is Lily?
B:She is in the wash room.
A:What?everybody's dacing,why is she in the wash room?
B:She has a habit of hiding in the wash room while there are a lot of people around her.