Refactoring: Extract Method for boost default_name_check()

Extract Method for default_name_check