boolean (@NotNull PyDecoratable node) { boolean isDecorated = false; final PyDecoratorList decoratorList = node.getDecoratorList(); if (decoratorList != null) { final PyDecorator[] decorators = decoratorList.getDecorators(); if (decorators.length > 0) { isDecorated = true; } } return isDecorated; }