def METHOD_NAME(self, poolid):
    """Check whether pool already exist
    :param poolid: str - name of the pool
    :return: bool - is pool exists?
    """
    try:
        pools = self.proxmox_api.pools.get()
        for pool in pools:
            if pool['poolid'] == poolid:
                return True
        return False
    except Exception as e:
        self.module.fail_json(msg="Unable to retrieve pools: {0}".format(e))