Yes, it’s on iPhone, you can filter by contact type or what you’re doing:
https://support.apple.com/en-us/HT212608
https://www.theverge.com/2019/9/26/20883331/iphone-do-not-di...
https://support.apple.com/en-us/HT212608
https://www.theverge.com/2019/9/26/20883331/iphone-do-not-di...