def get_model_dna(page_dna, thing_name, elio_role):
    """Find the details of a model of the current page/role in the SITE_DNA."""
    if not isinstance(page_dna, dict):
        return {}
    if thing_name in list(page_dna.get(elio_role, {})):
        if isinstance(page_dna[elio_role], dict):
            return page_dna[elio_role].get(thing_name, {})
    return {}
