protected function rowExists($table, array $filter)
{
$select = $this->conn->SelectRows($table, $filter);
if (!$select) {
$this->logLastError('rowExists');
return false;
}
return (bool) $this->conn->RowArray(0, MYSQLI_ASSOC);
}