def get_arma_index(parameter_name_array):
    """Check which parameters are ARMA terms

    Args:
        parameter_name_array

    Return:
        boolean array, True if it is a ARMA parameter
    """
    arma_index = []
    for parameter_name in parameter_name_array:
        if "_AR" in parameter_name:
            arma_index.append(True)
        elif "_MA" in parameter_name:
            arma_index.append(True)
        else:
            arma_index.append(False)
    return arma_index