code: public static boolean supportsAnyAction(AccessibilityNodeInfoCompat node,
              int... actions) {
          if (node != null) {
              final int supportedActions = node.getActions();
  
              for (int action : actions) {
                  if ((supportedActions & action) == action) {
                      return true;
                  }
              }
          }
  
          return false;
      }
docs: Returns {@code true} if the node supports at least one of the specified
  actions. To check whether a node supports multiple actions, combine them
  using the {@code |} (logical OR) operator.
  
  @param node The node to check.
  @param actions The actions to check.
  @return {@code true} if at least one action is supported.