def check_pool_create(conn, poolname, logger):
    """Check the result of create storage pool.  """
    pool_names = conn.listStoragePools()
    logger.info('poolnames is: %s ' % pool_names)
    if poolname in pool_names:
        return True
    else:
        logger.info('check_pool_create %s storage pool is UNSUCCESSFUL!!' %
            poolname)
        return False
