def check_pool(self):
    is_pool = True
    pool_num = 0
    for n in range((self.net_info.node_num + self.net_info.out_num)):
        if self.is_active[n]:
            if (self.gene[n][0] > 19):
                is_pool = False
                pool_num += 1
    return (is_pool, pool_num)
def check_pool(self):
    is_pool = True
    pool_num = 0
    for n in range((self.net_info.node_num + self.net_info.out_num)):
        if self.is_active[n]:
            if (self.gene[n][0] > 19):
                is_pool = False
                pool_num += 1
    return (is_pool, pool_num)