def check_multi_single(filenames):
    """
    Check if multiple or single file is chosen.

    Args:
        filenames (list): A list of all the filepaths or string of
                                filepath

    Returns:
        single (bool): Return whether it is a single file (True)
                       or multiple files (False)
    """
    num = len(filenames)
    if num == 1:
        single = bool(1)
    else:
        single = bool(0)
    return single