check value of "hidden" key rather than presence of it