code: private static boolean isScrollable(AccessibilityNodeInfoCompat node) {
          if (node.isScrollable()) {
              return true;
          }
  
          return supportsAnyAction(node,
                  AccessibilityNodeInfoCompat.ACTION_SCROLL_FORWARD,
                  AccessibilityNodeInfoCompat.ACTION_SCROLL_BACKWARD);
      }
docs: Check whether a given node is scrollable.
  
  @param node The node to examine.
  @return {@code true} if the node is scrollable.