Maps into a Discrete Space Are Locally Constant