`isinstance(entry, Work)` is better to avoid poking around in the class plumbing.  It also handles subclasses for `Source`.