If you flash the lollipop factory image, it will certainly remove any traces of root. But remember to backup any data from the phone prior to doing so as the flash-all.sh/bat will wipe the phone.
Lollipop introduces SeLinux, so most root options won't work using the more traditional methods...