def is_unqdn(cfg, name):
    """
    Returns True if name has enough elements to
    be a unqdn (hostname.realm.site_id)
    False otherwise
    """
    parts = name.split(".")
    if len(parts) >= 3:
        return True
    else:
        return False