private boolean isPermissionCheckingEnabled(INode[] pathNodes) {
    if (this.isPermissionEnabled) {
      if (permissionEnabled == null) {
        return false;
      }
      for (INode enableDir : this.permissionEnabled) {
        for (INode pathNode : pathNodes) {
          if (pathNode == enableDir) {
            return true;
          }
        }
      }
      return false;
    }
    return false;
  }
private boolean isPermissionCheckingEnabled ( INode [ ] pathNodes ) { if ( this . isPermissionEnabled ) { if ( permissionEnabled == null ) { return false ; } for ( INode enableDir : this . permissionEnabled ) { for ( INode pathNode : pathNodes ) { if ( pathNode == enableDir ) { return true ; } } } return false ; } return false ; }
Check if a path is predefined to enable permission checking