Returns the checks of a service

        Parameters:
            dc (str): Specify datacenter that will be used.
                      Defaults to the agent's local datacenter.
            near (str): With a node name will sort the node list in ascending
                        order based on the estimated round trip time from that
                        node
            watch (Blocking): Do a blocking query
            consistency (Consistency): Force consistency
        Returns:
            CollectionMeta: where value is a list of checks

async def checks(self, service, *,
                     dc=None, near=None, watch=None, consistency=None):
        """Returns the checks of a service

        Parameters:
            dc (str): Specify datacenter that will be used.
                      Defaults to the agent's local datacenter.
            near (str): With a node name will sort the node list in ascending
                        order based on the estimated round trip time from that
                        node
            watch (Blocking): Do a blocking query
            consistency (Consistency): Force consistency
        Returns:
            CollectionMeta: where value is a list of checks
        """
        service_id = extract_attr(service, keys=["ServiceID", "ID"])
        params = {"dc": dc, "near": near}
        response = await self._api.get("/v1/health/checks", service_id,
                                       params=params,
                                       watch=watch,
                                       consistency=consistency)
        return consul(response)