where('manager_uid', '!=', $excludeManagerUid); } $model = $model->where('username', $username); return $model->exists(); } }