def to_instrument_object(self, obj: object) -> bool:
        """Determine whether the given object should be instrumented."""

        # NOTE: some classes do not support issubclass but do support
        # isinstance. It is thus preferable to do isinstance checks when we can
        # avoid issubclass checks.
        return any(isinstance(obj, cls) for cls in self.include_classes)
Determine whether the given object should be instrumented.
src/core/trulens/core/instruments.py