I want to check that whether my page contains a particular resource or not. If the resource is only once on the page then that can be check by using

```
page.getContentResource("yourResource");

```

If it is null means resource is not present. But problem is I have multiple resource on my page.like yourResource\_1,yourResource\_2,yourResource\_3... and if i delete the yourResource but still i have yourResource\_1,yourResource\_2,yourResource\_3. then also i returns null because it is only checking for "yourResource"

any suggestion ?