recentf-keep-default-predicate

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

(recentf-keep-default-predicate FILE)

Return non-nil if FILE should be kept in the recent list.
It handles the case of remote files as well.