code: async def deregister(self, check):
          
          check_id = extract_attr(check, keys=["CheckID", "ID"])
          response = await self._api.get("/v1/agent/check/deregister", check_id)
          return response.status == 200
docs: Deregisters a local check
  
          Parameters:
              check (ObjectID): Check ID
          Returns:
              bool: ``True`` on success
  
          The agent will take care of deregistering the check from the Catalog.