check_dfll_fn_args function

Check if functions in a distance metrics list-like have valid arguments