it depends on your code
if you move with c_move through the level, you have a collision-detection
if you are in the walk-thru-modus, then you havnt it

what template do you have chosen?
or if you have coded it by yourself: please show the source