Added CanUpgrade function from KRS_L

Thanks KRS_L!