From Garry's Mod
Returns if the player has the specified weapon
Class name of the weapon
True if the player has the weapon
prints if the player has the physgun
"true" in console, if player 1 has Physics Gun.