If you’re not sure if your friend already has a certain game, then don’t worry. Valve, the developers of Steam, anticipated this situation. If you want to gift a certain game to your friend, you’ll find their username greyed out if they already own the game.