if (DB::table('orders')->where('finalized', 1)->doesntExist()) { // ... }
if (User::where('email', $request->email)->exists()) { //email exists in user table }