Fix has_no_input_arg check and rename it to has_only_self_parameter
#71270
+7
−4
has_no_input_arg check and rename it to has_only_self_parameter
#71270