Using variable in State to check if read_only status was set through code and...