Subindex using logical expression in Stan

Sure and I found that the discussion in this post Dealing with data subsetting in Stan - #7 by seantalts has some user-defined function to implement such purpose. Will the future version of Stan add this logical subsetting tool?