code: public boolean inArray() {
        return writeStack.peek() == JsonTokenType.BEGIN_ARRAY || (writeStack.peek() == JsonTokenType.BEGIN_DOCUMENT && isArray);
     }
docs: Determines if the writer is currently in an array
  
  @return True if in an array, False if not