@Override
  public boolean isValidFor(Editor editor, PsiFile file) {
    return (file instanceof PyFile) && (PyOverrideImplementUtil.getContextClass(editor, file) != null);
  }
@Override
  public boolean isValidFor(Editor editor, PsiFile file)