def check_compatibility(selected_usb_size: int, iso_rec_size: str) ->bool:
    """
    Function to test whether or not the usb is large enough for selected ISO
    :param:string: selected_usb_size pointer to selected usb device size
    :param:int: iso_rec_size recommended size selected ISO needs
    :return: true if size is large enough
    """
    if selected_usb_size >= int(iso_rec_size.split()[0]) * 1000000000:
        return True
    else:
        return False
