protected function getDatatableInstance($classname)
    {
        if (!class_exists($classname)) {
            return false;
        }
        $datatable  = app($classname);
        $reflection = new ReflectionClass($datatable);
        if (($filename   = $reflection->getFileName()) && !str_contains($filename, 'core')) {
            if (!app('antares.extension')->getActiveExtensionByPath($filename)) {
                return false;
            }
        }
        return $datatable;
    }