Added optional boolean check behaviour to all check_ methods.