Calls callback function with `true` if a resource with given ID exists in the database. Otherwise,
</div>
<h5>Parameters:</h5>
<tableclass="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<thclass="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<tdclass="name"><code>prometheus_id</code></td>
<tdclass="type">
<spanclass="param-type">Number</span>
</td>
<tdclass="attributes">
</td>
<tdclass="description last">the id to test for</td>
</tr>
<tr>
<tdclass="name"><code>type</code></td>
<tdclass="type">
<spanclass="param-type">string</span>
</td>
<tdclass="attributes">
<optional><br>
</td>
<tdclass="description last">type of the resource. If provided, callback value will be true only if a resource with a given id AND of a provided type exists</td>