Warnings if field name not found?

I just spent many hours trying to get the $lookup lab solved only to figure out this morning that I had misspelled airplane in my $match.

Does MongoDB provide a simple mechanism to throw a warning if a field name used in a pipeline is not present in any of the data set?

No, there is no such mechanism.