Check if the player already have a cola

i have this proximty prompt script right here, and I want to know that is it possible to check the player’s backpack for the cola,
the script:

local ProximityPrompt = script.Parent.ProximityPrompt

ProximityPrompt.Triggered:Connect(function(Player)
    local copy = game.ReplicatedStorage["Cola"]:Clone()
	copy.Parent = Player.Backpack
	
	end)

This might work

if game.Players[Player].Backpack:FindFirstChild('Cola') then
print('Item exists') --the item exists
else
print('Non existent') --item doesn't exist
end