function isCaretCandidate(node) {
		if (isCaretContainer(node)) {
			return false;
		}

		if (isText(node)) {
			if (isInvalidTextElement(node.parentNode)) {
				return false;
			}

			return true;
		}

		return isAtomicInline(node) || isBr(node) || isTable(node) || isContentEditableFalse(node);
	}
This module contains logic for handling caret candidates. A caret candidate is
for example text nodes, images, input elements, cE=false elements etc.

@private
@class tinymce.caret.CaretCandidate