import re


def getIndsPropString(wkwdata):
    """Get the string for the property containing the indices of train, validation and test data"""
    allAttributes = dir(wkwdata)
    r = re.compile('^data_.*_inds$')
    return list(filter(r.match, allAttributes))