valid_gears_arg function

Helper function to assure validity of gears argument