write ::offsetExists