private boolean includeDataSources(final List<TokenType> lastKeywordSequence) {
        return isAtIndex(lastKeywordSequence, TokenType.FROM, 0)
               && isAtIndex(lastKeywordSequence, TokenType.WHITESPACE, 1)
               && lastKeywordSequence.size() <= 3;
    }
Here to help testing, so we don't have to work out the row/col postitions
stroom-query/stroom-query-impl/src/main/java/stroom/query/impl/QueryServiceImpl.java