@Override
  protected boolean isEnabledOnElementsOutsideEditor(PsiElement @NotNull [] elements) {
    if (elements.length == 1) {
      final PsiDirectory pyPackage = getPackageDir(elements[0]);
      return pyPackage != null && !isSpecialDirectory(pyPackage);

    }
    return false;
  }
@Override
  protected boolean isEnabledOnElementsOutsideEditor(PsiElement @NotNull [] elements)