Renaming the check_empty_arguments method to something more descriptive.
The function is now called has_arguments? so that it's easier to tell
that it's just checking to see if the args are blank or not.
Merge pull request #9345 from wangjohn/change_name_of_query_method_argument_checker_for_clarity

Renaming the check_empty_arguments method to something more descriptive.