Copy images to converted topology

    :param images: Images to copy
    :param source: Old Topology Directory
    :param target: Target topology files directory
    :return: True when an image cannot be found, otherwise false
    :rtype: bool

def copy_images(images, source, target):
    """
    Copy images to converted topology

    :param images: Images to copy
    :param source: Old Topology Directory
    :param target: Target topology files directory
    :return: True when an image cannot be found, otherwise false
    :rtype: bool
    """
    image_err = False
    if len(images) > 0:
        images_dir = os.path.join(target, 'images')
        os.makedirs(images_dir)
        for image in images:
            if os.path.isabs(image):
                old_image_file = image
            else:
                old_image_file = os.path.join(source, image)

            new_image_file = os.path.join(images_dir,
                                          os.path.basename(image))
            if os.path.isfile(os.path.abspath(old_image_file)):
                shutil.copy(old_image_file, new_image_file)
            else:
                image_err = True
                logging.error('Unable to find %s' % old_image_file)
    return image_err