code: def get_mon_initial_members(args, error_on_empty=False, _cfg=None):
      
      if _cfg:
          cfg = _cfg
      else:
          cfg = conf.ceph.load(args)
      mon_initial_members = cfg.safe_get('global', 'mon_initial_members')
      if not mon_initial_members:
          if error_on_empty:
              raise exc.NeedHostError(
                  'could not find `mon initial members` defined in ceph.conf'
              )
      else:
          mon_initial_members = re.split(r'[,\s]+', mon_initial_members)
      return mon_initial_members
docs: Read the Ceph config file and return the value of mon_initial_members
      Optionally, a NeedHostError can be raised if the value is None.