def arr_in_list(gast_list):
    """
    returns true if there is a gast node of type arr in list of gast nodes
    else returns false
    """
    for node in gast_list:
        if node["type"] == "arr":
            return True

    return False