WordPress saves the Favicon as site_icon
in the options table holding the attachment post ID. What you could do is something like this:
if( false === get_option( 'site_icon', false ) ) {
// Show favicon
}
Where get_option()
will hit the default ( we provide as the 2nd parameter ) false
IF the site_icon
does not exist or one has not been uploaded through the customizer.