code: function isDataTagForUniversalLinks(data) {
    // can have only 1 data tag in the intent-filter
    if (data == null || data.length != 1) {
      return false;
    }
  
    var dataHost = data[0]['$']['android:host'];
    var dataScheme = data[0]['$']['android:scheme'];
    var hostIsSet = dataHost != null && dataHost.length > 0;
    var schemeIsSet = dataScheme != null && dataScheme.length > 0;
  
    return hostIsSet && schemeIsSet;
  }
docs: Check if data tag from intent-filter corresponds to data for Universal Links.
  
  @param {Array} data - list of data tags in the intent-filter
  @return {Boolean} true - if data tag for Universal Links; otherwise - false