Even if the 220 volt AC source was isolated, I would want galvanic isolation unless the 220 volt AC source was an isolated winding on a transformer which only went to the measurement input. If I wanted to just measure presence of the 220 volts AC, then an optocoupler would be a good choice for isolation.