further to my comment on your own answer something like this makes more sense to me as the check doesnt alter anything.
(defun next-pair-exists-in (func)
"Check if inner or outer pair exists.
Function employs `up-list` or `down-list` as argument to work."
(setq-local reslt nil)