boolean (@NotNull PyReferenceExpression node) { if (LanguageLevel.forElement(node).isPython2()) { if (!node.isQualified()) { final String name = node.getName(); if (PyNames.NONE.equals(name) || PyNames.FALSE.equals(name) || PyNames.TRUE.equals(name)) { return true; } } } return false; }