Couldn't we use false or 0 or something that doesn't trip up isset()? As far as I can remember, services can only be objects, so it should be safe. But not sure if this code is sensitive enough that it is worth it.