how do I get the kind of a form in front

Years ago I could ask if a form in a dialog is in the front by application.isFormInDialog(). But this function is not deprecated in Servoy 5.2.2.
How do I get a result by an alternative function?

Regards,
Thomas

see controller.getContainerName();