code: def _volume_command(ramp, volume):
      
      if volume is not None:
          ramp.set_volume(float(volume))
      else:
          print ramp.volume
docs: Set the value if a volume level is provided, else print the current
      volume level.