Turning off Custom Header on Home Page

I have created a custom homepage template for my studio theme. I need to be able to turn off the custom header on the home page only even if it is activated in the settings. I’m assuming there is some sort of function to do I’m just not sure how to phrase it.

The default header has:

<?php if($bp_existed == 'true') : ?>
<?php locate_template( array( '/library/components/panel.php' ), true ); ?>
<?php endif; ?>
<?php $customheader_on = get_option('dev_studio_customheader_on');
if ($customheader_on == "yes"){
<?php locate_template( array( '/library/components/customheader.php' ), true ); ?>
<?php } ?>

I need to put a function in the child theme to turn off the custom header just on one page. Any thoughts?