def _engineServicesRunning():
process = subprocess.Popen(["<STR_LIT>", "<STR_LIT>"], stdout=subprocess.PIPE)<EOL>stdout = process.communicate()[<NUM_LIT:0>]<EOL>result = process.returncode<EOL>if result != <NUM_LIT:0>:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>running = False<EOL>for line in stdout.split("<STR_LIT:\n>"):<EOL><INDENT>if "<STR_LIT>" in line and "<STR_LIT>" in line:<EOL><INDENT>running = True<EOL>break<EOL><DEDENT><DEDENT>return running<EOL>
Return true if the engine services are running