def is_domain(d):
    for suffix in suffixes:
        if d.endswith(suffix):
            base_name = d[0:-(suffix.length + 1)]
if not base_name.contains('.'):
    return true
return false
Regex to match Domain.CCTLD