code: def _check_tagmode_and_tmos_version(self, **kwargs):
          '''Raise an exception if tagMode in kwargs and tmos version < 11.6.0
  
          :param kwargs: dict -- keyword arguments for request
          :raises: TagModeDisallowedForTMOSVersion
          '''
  
          tmos_version = self._meta_data['bigip']._meta_data['tmos_version']
          if LooseVersion(tmos_version) < LooseVersion('11.6.0'):
              msg = "The parameter, 'tagMode', is not allowed against the " \
                  "following version of TMOS: %s" % (tmos_version)
              if 'tagMode' in kwargs or hasattr(self, 'tagMode'):
                  raise TagModeDisallowedForTMOSVersion(msgf _check_tagmode_and_tmos_version(self, **kwargs):
          '''Raise an exception if tagMode in kwargs and tmos version < 11.6.0
  
          :param kwargs: dict -- keyword arguments for request
          :raises: TagModeDisallowedForTMOSVersion
          '''
  
          tmos_version = self._meta_data['bigip']._meta_data['tmos_version']
          if LooseVersion(tmos_version) < LooseVersion('11.6.0'):
              msg = "The parameter, 'tagMode', is not allowed against the " \
                  "following version of TMOS: %s" % (tmos_version)
              if 'tagMode' in kwargs or hasattr(self, 'tagMode'):
                  raise TagModeDisallowedForTMOSVersion(msg)
docs: Raise an exception if tagMode in kwargs and tmos version < 11.6.0
  
          :param kwargs: dict -- keyword arguments for request
          :raises: TagModeDisallowedForTMOSVersion