Reorganized bouyancy E2 function

Now with IsValid

E2 Code That makes 300 kilo washing machine ( prop_physics ENT obtained by a wirelink ) floats above water:

@inputs Prop:wirelink

runOnTick(1)
Prop:entity():setBuoyancy(100)

Note: The buoyancy Seems to be reset after the tick!