I need to do something if "Door Entry" or "Phone Call" text is found within the label control, as shown in given below HTML code:

```js
if ($("("label[for=risk_form_purpose_of_one]"):contains('Door Entry')")) {
  document.getElementById("add-function").value = "Add Priority Function";
  getDropDownDiv.style.display = "block";
  getDropDownContentDiv.style.display = "block";
  document.getElementById("fieldsetSize").style.height = "1000px";
  dropDownChanged = true;
}
```

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<label class="acdo01" for="risk_form_purpose_of_one">
      <span style="width:1px;"></span>
      <span class="acdo_disabled" style="width:140px;">Door Entry</span>
    </label>
```