Yes and no.

If someone tries to sell you GoodSandwiches.com, where there isn't anything on it and there never has been, for 100k, I'd say it's NOT worth it. Because there are tons of alternatives these days. Try a dash! Try a weird TLD!

If it's your trademark, it's probably important.

There is some muscle memory for .com, but whatever.

If it's for sale for 10k and you're a 5 million dollar company, fine.

If it has a lot of trusted history, fine.