def enough_data(train_data, test_data, verbose=False):
    """Check if train and test sets have any elements."""
    if train_data.empty:
        if verbose:
            print('Empty training data\n')
        return False
    if test_data.empty:
        if verbose:
            print('Empty testing data\n')
        return False
    return True