I’m probably missing something obvious but is there a mastodon setting that rest...

@Troggie@beige.party

I’m probably missing something obvious but is there a mastodon setting that restricts DMs to only followers or only mutuals?
I know there’s something in notifications because I already have that on. I don’t see the DM unless I’m viewing the specific post they’ve replied to.
But is there a setting to stop randoms sending it in the first place?