def modelSetter(obj, model):
    """
    This class is used for convenience as TaurusEmitterThread standard method
    """
    if hasattr(obj, 'setModel') and model is not None:
        obj.setModel(model)
    return
