Would think the Request._ConfigItemRequested attribute should be a dependency, it's really the only attribute you are looking at.
You don't return anything if none of the above conditions are not met. On creation of a form that could be an issue. I usually return a space or nothing just so something is returned.