No, we don't have a function for that. But why don't you just set the album sort order to "date" and "descending", then all the latest albums should be the first.
Additionally we have a function printLatestAlbums() that prints thumbs of, well, the latest albums.
Please see our functions guide for more info.