move is_outdated to compiler