You pretty much have to have the object and then check to see if it has the method you want. Usually it's used in connection with a collider so you don't call a method that the object doesn't have. Groups in Godot are like tags, I think. I don't use has_method because I assign a class_name and then check if it's that class.