code: public static boolean isActionableForAccessibility(AccessibilityNodeInfoCompat node) {
          if (node == null) {
              return false;
          }
  
          // Nodes that are clickable are always actionable.
          if (isClickable(node) || isLongClickable(node)) {
              return true;
          }
  
          if (node.isFocusable()) {
              return true;
          }
  
          return supportsAnyAction(node, AccessibilityNodeInfoCompat.ACTION_FOCUS,
                  AccessibilityNodeInfoCompat.ACTION_NEXT_HTML_ELEMENT,
                  AccessibilityNodeInfoCompat.ACTION_PREVIOUS_HTML_ELEMENT);
      }
docs: Returns whether a node is actionable. That is, the node supports one of
  the following actions:
  <ul>
  <li>{@link AccessibilityNodeInfoCompat#isClickable()}
  <li>{@link AccessibilityNodeInfoCompat#isFocusable()}
  <li>{@link AccessibilityNodeInfoCompat#isLongClickable()}
  </ul>
  This parities the system method View#isActionableForAccessibility(), which
  was added in JellyBean.
  
  @param node The node to examine.
  @return {@code true} if node is actionable.