WP Customize API Checkbox change value

You can put condition while printing display’s value

.someclass {
    display: <?php echo ( get_theme_mod( 'mytheme_setting' ) ? 'block' : 'none' ); ?>;
}

tech