WordPress checkbox and Illegal string offset

$options = get_option( 'chec_settings' );
//Error message on line bellow
if ( is_array( $options ) && $options['chec_checkbox_field_0'] == '1' ) {
    echo 'Checked';
} else {
    echo 'Unchecked';
}

if the value is not checked it will not save in db. So check if the $options is array.