def getLogisticModelNames(config):
    """
    Get the names of the models present in the configobj

    Args:
        config: configobj object defining the model and its inputs.

    Returns:
        list: list of model names.
    """
    names = []
    lmodel_space = config
    for key, value in lmodel_space.items():
        if isinstance(value, str):
            continue
        else:  # this is a model
            names.append(key)
    return names