Something like 

record instanceof GeoExt.data.LayerRecord && record.layer && record.layer instanceOf OpenLayers.Layer.Vector && record.layer.protocol && record.layer.protocol instanceOf OpenLayers.Protocol.WFS ?

I'm not even sure this would work...