protected function autologinValid(AutologinInterface $autologin) {
        if (config('autologin.remove_expired')) {
            $lifetime = config('autologin.lifetime');

            if ($autologin->created_at <= Carbon::now()->subMinutes($lifetime)) {
                $autologin->delete();

                return false;
            }
        }

        return true;
    }