boolean (@NotNull PyStringLiteralExpression expr, @NotNull TypeEvalContext context) { final PyBuiltinCache builtinCache = PyBuiltinCache.getInstance(expr); final PyClassType bytesType = builtinCache.getBytesType(LanguageLevel.forElement(expr)); final PyType actualType = context.getType(expr); return bytesType != null && actualType != null && PyTypeChecker.match(bytesType, actualType, context); }