private boolean peek(TokenKind desiredTokenKind, boolean consumeIfMatched) {
		if (!hasNext()) {
			return false;
		}
		Token t = peek();
		if (t.kind == desiredTokenKind) {
			if (consumeIfMatched) {
				position++;
			}
			return true;
		}
		else {
			return false;
		}
	}
Return {@code true} if the indicated token matches the current token
position.

@param desiredTokenKind token to match
@param consumeIfMatched if {@code true}, advance the current token position
@return true if the current token kind matches the provided token kind
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/dsl/Tokens.java