protected function callContextChanged(string $type, $before, $after): bool
    {
        $before = is_object($before) ? get_class($before) : "";
        $after = is_object($after) ? get_class($after) : "";

        return $type === Caller::TYPE_CALLER && $before && $after && $before !== $after;
    }