OP asked “is there a way” not “is there a fast way”.
“In finite time” is not the same as “Using a halting process”
OP asked “is there a way” not “is there a fast way”.
“In finite time” is not the same as “Using a halting process”