if config not set, factory returns false