fix ToBoolean for objects implementing avoidObjectDetection()
fix ToBoolean for objects implementing avoidObjectDetection()

sam/htmlunit-rhino-fork,sam/htmlunit-rhino-fork,sam/htmlunit-rhino-fork,sam/htmlunit-rhino-fork,sam/htmlunit-rhino-fork,sam/htmlunit-rhino-fork,sam/htmlunit-rhino-fork