boolean (@NotNull PyTargetExpression attribute, @NotNull Collection<Property> properties, @NotNull Map<String, PyTargetExpression> attributesInInit) { return StreamEx.of(properties) .filter(it -> isSetBy(attribute, it)) .anyMatch(it -> attributesInInit.containsKey(it.getName())); }