parameters: ()
return_statement: return stdout.strip() != '1' if stdout else False
docstring: Test if the given process running.
docstring_summary: Test if the given process running.
docstring_tokens: Test if the given process running .
function: def is_running():
          """Test if the given process running."""
          _, stdout, _ = shell_cmd('pgrep -f "cyber_recorder record" | grep -cv \'^1$\'', False)
          # If stdout is the pgrep command itself, no such process is running.
          return stdout.strip() != '1' if stdout else False
function_tokens: def is_running ( ) : _ , stdout , _ = shell_cmd ( 'pgrep -f "cyber_recorder record" | grep -cv \'^1$\'' , False ) # If stdout is the pgrep command itself, no such process is running. return stdout . strip ( ) != '1' if stdout else False