Get flagged/unflagged for reminders?

How do I get the flagged/unflagged status of a reminder in Scriptable?

Use case: I want to sort reminders a specific way in a widget I’m building (on Scriptable iOS 14 beta)

If this is not yet a feature, please implement @simonbs! (Although I know you are very busy and thanks for the app anyhow)