Refcatoring get predicate functions