def can_be_archive_path(path):
    """ Check a given path ends with common archive extensions or not

    :param path: str, input path
    :return: boolean, True if path ends with common archive extensions, otherwise False
    """
    exts = {".tar.gz", ".tgz", ".tar", ".zip", "qp", ".jar"}
    return any(map(lambda _: path.endswith(_), exts))