public boolean isEmptyMiddleDirectory(PsiDirectory directory, final boolean strictlyEmpty) {
    return isEmptyMiddleDirectory(directory, strictlyEmpty, null);
  }
public boolean isEmptyMiddleDirectory(PsiDirectory directory, final boolean strictlyEmpty)