code: def _check_roSet(orb,kwargs,funcName):
      
      if not orb._roSet and kwargs.get('ro',None) is None:
          warnings.warn("Method %s(.) requires ro to be given at Orbit initialization or at method evaluation; using default ro which is %f kpc" % (funcName,orb._ro),
                        galpyWarning)
docs: Function to check whether ro is set, because it's required for funcName