I have a hefty Abus “sold secure” (requirement of insurance) D lock that I lock through the frame, but I’ve watched enough lock picking lawyer to know this won’t stop thieves with angle grinders (most thieves now) or ones handy with a disc detainer pick.
But the exception is always high-value bikes. That's why I called out bikes that aren't "obviously worth a grand+". If you leave out a nice eBike or a superlight road bike, the thieves have solid financial motivation to risk breaking out the cordless grinder and making a ruckus to steal it. Hell, sometimes thieves would straight up wait for people to come back to their bikes after brunch or whatever and mug them for it after they unlocked it in Albuquerque. No tools needed other than a knife.
If you have a bike lock/chain that can resist bolt cutters, you're probably fine for everything other than leaving it overnight. Casual bike thieves are looking for easy money and likely aren't going to bust out an angle grinder in the middle of the day unless your bike is obviously worth a grand+.