This config format seems a bit complicated. What do you think about making it a Proc that returns true or false?