I just moved into a new apartment and have no idea what's in the walls. This makes me somewhat afraid that I might hit a water pipe or so when drilling into the wall.

Is there some kind of tool that I can use to check whether a spot is safe to drill into?