original_string: protected function hasIn($key, $in)
      {
          $keys = explode($this->getSeparator(), $key, 2);
          if (count($keys) <= 0) {
              return false;
          } else {
              if (! isset($in[$keys[0]])) {
                  return false;
              } else {
                  if (count($keys) >= 2) {
                      return true && $this->hasIn($keys[1], $in[$keys[0]]);
                  } else {
                      return true;
                  }
              }
          }
      }
code: protected function hasIn($key, $in)
      {
          $keys = explode($this->getSeparator(), $key, 2);
          if (count($keys) <= 0) {
              return false;
          } else {
              if (! isset($in[$keys[0]])) {
                  return false;
              } else {
                  if (count($keys) >= 2) {
                      return true && $this->hasIn($keys[1], $in[$keys[0]]);
                  } else {
                      return true;
                  }
              }
          }
      }
code_tokens: protected function hasIn ( $ key , $ in ) { $ keys = explode ( $ this -> getSeparator ( ) , $ key , 2 ) ; if ( count ( $ keys ) <= 0 ) { return false ; } else { if ( ! isset ( $ in [ $ keys [ 0 ] ] ) ) { return false ; } else { if ( count ( $ keys ) >= 2 ) { return true && $ this -> hasIn ( $ keys [ 1 ] , $ in [ $ keys [ 0 ] ] ) ; } else { return true ; } } } }
docstring: Does the collection have a given key?
  
  Warn: Recursive function
  
  @param string $key
  The data key
  @param array $in
  The folder uses for the recursion
  
  @return boolean If the collection have the given key
docstring_tokens: Does the collection have a given key?