Can we return None or Matchobject instead of True/False.  Or if you need a bool, wrap re.search in bool().

`return re.search(r"running", output)`
or
`return bool(re.search(r"running", output)`