github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/query/exists.fql (about)

     1  LET url = @lab.cdn.dynamic
     2  LET doc = DOCUMENT(url, true)
     3  
     4  LET el = ELEMENT(doc, "#root")
     5  
     6  T::TRUE(ELEMENT_EXISTS(el, '.jumbotron'))
     7  T::FALSE(ELEMENT_EXISTS(el, '.foo-bar'))
     8  
     9  RETURN NONE