def app_state(self, app):
if not self.available or not self.screen_on:<EOL><INDENT>return STATE_OFF<EOL><DEDENT>if self.current_app["<STR_LIT>"] == app:<EOL><INDENT>return STATE_ON<EOL><DEDENT>return STATE_OFF<EOL>
Informs if application is running.