static function pathIsset($values, $path) {
        foreach ($path as $key) {
            if (!is_array($values) || !isset($values[$key])) {
                return FALSE;
            }
            $values = $values[$key];
        }
        return TRUE;
    }
static function pathIsset($values, $path) {
        foreach ($path as $key) {
            if (!is_array($values) || !isset($values[$key])) {
                return FALSE;
            }
            $values = $values[$key];
        }
        return TRUE;
    }
static function pathIsset ( $ values , $ path ) { foreach ( $ path as $ key ) { if ( ! is_array ( $ values ) || ! isset ( $ values [ $ key ] ) ) { return FALSE ; } $ values = $ values [ $ key ] ; } return TRUE ; }
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
Check if a key isset which may be several layers deep .