For example

if the input is:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/31735581-7fed-4070-a015-3f06670dd04d/Untitled.png

Output should be false:

As 4 in the left sub-tree is greater than the root value(3)

If the input is:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0db1deed-d376-4b3b-925a-1d8f988c382c/Untitled.png

Output should be true