original_string: public function hasKey($_)
      {
          try {
              $keys = array_reverse($this->getKeyArguments(func_get_args()));
  
              $array = $this->getArrayCopy();
              while (count($keys) > 0) {
                  $key = array_pop($keys);
                  if (! array_key_exists($key, $array)) {
                      return false;
                  }
                  $array = $array[$key];
              }
          } catch (Exception $exception) {
              return false;
          }
  
          return true;
      }
code: public function hasKey($_)
      {
          try {
              $keys = array_reverse($this->getKeyArguments(func_get_args()));
  
              $array = $this->getArrayCopy();
              while (count($keys) > 0) {
                  $key = array_pop($keys);
                  if (! array_key_exists($key, $array)) {
                      return false;
                  }
                  $array = $array[$key];
              }
          } catch (Exception $exception) {
              return false;
          }
  
          return true;
      }
code_tokens: public function hasKey ( $ _ ) { try { $ keys = array_reverse ( $ this -> getKeyArguments ( func_get_args ( ) ) ) ; $ array = $ this -> getArrayCopy ( ) ; while ( count ( $ keys ) > 0 ) { $ key = array_pop ( $ keys ) ; if ( ! array_key_exists ( $ key , $ array ) ) { return false ; } $ array = $ array [ $ key ] ; } } catch ( Exception $ exception ) { return false ; } return true ; }
docstring: Check whether the Config has a specific key.
  
  To check a value several levels deep, add the keys for each level as a comma-separated list.
  
  @since 0.1.0
  @since 0.1.4 Accepts list of keys.
  
  @param string|array $_ List of keys.
  
  @return bool
docstring_tokens: Check whether the Config has a specific key .