Swaped IsValidHandle to a stock instead of a native