Cache isJar value in CodeEnvironment instead of looking it up everytime somebody asks.