private boolean isDeprecated(){
    final Value element = getElement();
    return element instanceof PsiDocCommentOwner && ((PsiDocCommentOwner)element).isDeprecated();
 }
private boolean isDeprecated()