def is_oozie_enabled():
 return (len([app for app in appmanager.DESKTOP_MODULES if (app.name == 'oozie')]) > 0)

def is_oozie_enabled ( ) : return ( len ( [ app for app in appmanager . DESKTOP_MODULES if ( app . name == 'oozie' ) ] ) > 0 )
oozie needs to be available as it is the backend .