boolean (PsiExpression operand, PsiType oppositeType, PsiType conditionalType) { return operand != null && TypeConversionUtil.isPrimitiveAndNotNull(operand.getType()) && !(oppositeType instanceof PsiPrimitiveType) && !(conditionalType instanceof PsiPrimitiveType); }