core/src/main/java/io/tracee/contextlogger/outputgenerator/predicates/IsTraceeContextProviderPredicate.java
protected boolean isExtendingTraceeContextProvider(final Object instance) {

        if (instance == null) {
            return false;
        }

        return ImplicitContextData.class.isAssignableFrom(instance.getClass()) || WrappedContextData.class.isAssignableFrom(instance.getClass());

    }
protected boolean isExtendingTraceeContextProvider(final Object instance) {

        if (instance == null) {
            return false;
        }

        return ImplicitContextData.class.isAssignableFrom(instance.getClass()) || WrappedContextData.class.isAssignableFrom(instance.getClass());

    }
Checks whether the passed instance extends the {@link ImplicitContextData} or
{@link io.tracee.contextlogger.contextprovider.api.WrappedContextData}types.

@param instance the instance to check
@return true, if the passed instance's type extends the ImplicitContextData or WrappedContextData class