belongsToMany(Plantel::class); } public function existe($plantelId): bool { return $this->plantelUsuarios() ->where('plantels.id', $plantelId) ->exists(); } public function prospectos() : BelongsToMany { return $this->belongsToMany(User::class); } }