Check camera is open in script mode

Hello!

Mobile testing on android device
How the check that camera or gallery is open on real android device in testcase?
In Manual mode or Script mode.

Thank you in advance.