public boolean peekLocal(int n) {
    if (n < 0) {
      throw new IllegalArgumentException("n < 0");
    }

    if (n >= stackPtr) {
      throw new SimException("stack: underflow");
    }

    return local[stackPtr - n - 1];
  }
Peeks at the {@code n}th element down from the top of the stack, returning whether or not it
has local info.

@param n {@code >= 0;} which element to peek at
@return {@code true} if the value has local info, {@code false} otherwise
@throws SimException thrown if {@code n >= size()}
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/ExecutionStack.java