add a `_hasFields` to the Objective function so we can tell if taking fields in is an option (e.g. for DataMisfit)
add a `_hasFields` to the Objective function so we can tell if taking fields in is an option (e.g. for DataMisfit)

simpeg/simpeg