private boolean isAttribute() { return myElement instanceof PyTargetExpression && PyUtil.isAttribute((PyTargetExpression) myElement); }