def staff_institute(article, institution_keys):
    """
    staff_iate, function

    Given a paper (python ads class Article), check if there is at
    least one author which is a member of an institution

    Parameters
    ----------
    article: a class Article object (not a list).
        An object with all the information for an article.

    institution_keys: list of strings
        Keywords that the affilliation can contain for a given
        institution.
        Fro example, for the IATE:
        institution_keys = ['IATE', 'Córdoba', 
                            'Laprida 854', 'X5000BGR',
                            'Universidad Nacional de Córdoba',
                            'Instituto de Astronomía Teórica y Experimental']          
    Returns
    -------
    isiate: logical
       If True, there is at least one author which is a member of an
       institution.
    """
 
    isinst = False
    for aff in article.aff:
        thisis = any(word in aff for word in institution_keys)
        isinst = isinst or thisis

    return isinst