if (has_custom_menu())?

From looking at the Codex, you should be able to just pass the fallback_cb parameter as false to have wp_nav_menu return nothing. So something like:

<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'fallback_cb' => FALSE ) ); ?>