def IsLinearOutputModule(cls, name):
    """Determines if a specific output class is a linear output module.

    Args:
      name (str): name of the output module.

    Returns:
      True: if the output module is linear.
    """
    name = name.lower()

    output_class = cls._output_classes.get(name, None)
    if not output_class:
      output_class = cls._disabled_output_classes.get(name, None)

    if output_class:
      return issubclass(output_class, interface.LinearOutputModule)

    return False
def IsLinearOutputModule ( cls , name ) : name = name . lower ( ) output_class = cls . _output_classes . get ( name , None ) if not output_class : output_class = cls . _disabled_output_classes . get ( name , None ) if output_class : return issubclass ( output_class , interface . LinearOutputModule ) return False
Determines if a specific output class is a linear output module.

    Args:
      name (str): name of the output module.

    Returns:
      True: if the output module is linear.