private function detectContainerKeyFlags($data) {
        $allNumeric = true;
        $inSequence = true;
        $expectedIndex = 0;
        foreach( $data as $key=>$value ){
            if( $key == $expectedIndex ){
                $expectedIndex++;
            }else{
                $inSequence = false;
            }
            if( is_numeric($key) == false ){
                $allNumeric = false;
            }
        }
        return [ $allNumeric, $inSequence ];
    }