move is_a_function earlier in support to make it available for __rvm_setup_utils_functions