Can leaves prepare for bacterial invasion?