original_string: static function pathIsset($values, $path) {
          foreach ($path as $key) {
              if (!is_array($values) || !isset($values[$key])) {
                  return FALSE;
              }
              $values = $values[$key];
          }
          return TRUE;
      }
code: static function pathIsset($values, $path) {
          foreach ($path as $key) {
              if (!is_array($values) || !isset($values[$key])) {
                  return FALSE;
              }
              $values = $values[$key];
          }
          return TRUE;
      }
code_tokens: static function pathIsset ( $ values , $ path ) { foreach ( $ path as $ key ) { if ( ! is_array ( $ values ) || ! isset ( $ values [ $ key ] ) ) { return FALSE ; } $ values = $ values [ $ key ] ; } return TRUE ; }
docstring: Check if a key isset which may be several layers deep.
  
  This is a helper for when the calling function does not know how many layers deep
  the path array is so cannot easily check.
  
  @param   array $values
  @param   array $path
  @return  bool
  
  @access  public
  @static
docstring_tokens: Check if a key isset which may be several layers deep .