def METHOD_NAME(config):
    """Obtain the regularizer type.
    Args:
        config: A config dict object that includes information of the regularizer.
    """
    for key in REGS.keys():  ##assume there is only one reg
        if config.get(key, None) is not None:
            return key
    return None