def domain_to_aol_attr_convert(quad_attr):
    """Convert an attribute from the domain-level syntax (which should be a
    valid Python name) to the AOL-level syntax.
    """
    if not quad_attr.startswith('is_'):
        quad_attr = f'has_{quad_attr}'
    return quad_attr.replace('_', '-')