Convert IsNick to use std::function.