I have to ensure that a request submitted for a PUT endpoint contains one and only element which is of bool type. Request is in Json format, will look as below, with either