teams->pluck('id')->contains($teamId)) { return true; } return false; });