original_string: protected function isPureArray(array $array ) {
              $i=0;
              foreach($array as $k=>$v) {
                  if ( $k !== $i ) {
                     return false;
                  }
                  $i++;
              }
  
              return true;
          }
code: protected function isPureArray(array $array ) {
              $i=0;
              foreach($array as $k=>$v) {
                  if ( $k !== $i ) {
                     return false;
                  }
                  $i++;
              }
  
              return true;
          }
code_tokens: protected function isPureArray ( array $ array ) { $ i = 0 ; foreach ( $ array as $ k => $ v ) { if ( $ k !== $ i ) { return false ; } $ i ++ ; } return true ; }
docstring: Checks wether the provided array has string keys and if it's not sparse.
  
  @param array $arr
  @return bool
docstring_tokens: Checks wether the provided array has string keys and if it s not sparse .