What to make an advancement not strict on custom data?

I have an advancement which checks for custom data component but, I think, only works if the component is exactly what is defined and not if it contains other data. What should I do to make it work if the item has other custom data? Here is the advancement:

  "criteria": {
    "place_block": {
      "trigger": "minecraft:placed_block",
      "conditions": {
        "location": [
          {
            "condition": "minecraft:match_tool",
            "predicate": {
              "components": {
                "minecraft:custom_data": "{namespace:{custom_block:1b}}"
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "namespace:function"
  }
}```
Continue to help post