Removed unused CanPurge() function