Water in the city

Is the water from the taps safe to drink? I heard there might be lead if it’s an old building. Or should I buy a water filter from interspar?