Implemented the ruby check chalenge flag validation option