def METHOD_NAME(self, pkgname, suffix):
    """
    Check if a file pkgname + suffix exists in `tl_all_files`
    :param pkgname: The name of a package
    :param suffix: The suffix to add to get a real file name
    """
    if pkgname in self.tl_packages_index_map:
        files = [Path(f).name for f in self.tl_packages[self.tl_packages_index_map[pkgname]].runfiles]
        if pkgname + suffix in files:
            return True
    return False