code: def _relative_name(self, record_name):
          
          # Handle None and empty strings as None
          if not record_name:
              return None
          subdomain = super(Provider, self)._relative_name(record_name)
          return subdomain if subdomain else None
docs: Returns sub-domain of a domain name