Opens a box and returns an open box
Box<T> box<T>(String boxKey) { if(isOpen<T>(boxKey)){ //Box already open return openBoxes[boxKey] as Box<T>; } throw 'Box not open'; }