Can't this just be `$bail = $return === false`