Moved item contain functions up to the Runsafe object