Report question

Question: How can I detect DND mode within an app?