code: def modular_input_kinds(self):
          
          if self.splunk_version >= (5,):
              return ReadOnlyCollection(self, PATH_MODULAR_INPUTS, item=ModularInputKind)
          else:
              raise IllegalOperationException("Modular inputs are not supported before Splunk version 5.")
docs: Returns the collection of the modular input kinds on this Splunk instance.
  
          :return: A :class:`ReadOnlyCollection` of :class:`ModularInputKind` entities.