recentf-keep-p

recentf-keep-p is a compiled Lisp function in `recentf.el'.

(recentf-keep-p FILENAME)

Return non-nil if FILENAME should be kept in the recent list.
That is, if it matches any of the `recentf-keep' checks.