I'd guess you could do:

```
if ( ! (preg_match("/^[0-9a-zA-Z_\-]*$/", $wData[1])) || !  ( $this->checkStmt($stmt) && $stmt->bind_param('ssiii', $value['password'], $value['username'], $value['monitor'], $account_id, $key) && $stmt->execute()) )
```

Would not need the $validWorker flag anymore. No idea though, would need testing :)