code: function isActionForUniversalLinks(actions) {
    // there can be only 1 action
    if (actions == null || actions.length != 1) {
      return false;
    }
  
    var action = actions[0]['$']['android:name'];
  
    return ('android.intent.action.VIEW' === action);
  }
docs: Check if actions from the intent-filter corresponds to actions for Universal Links.
  
  @param {Array} actions - list of actions in the intent-filter
  @return {Boolean} true - if action for Universal Links; otherwise - false