Index: src/wp-includes/theme.php
===================================================================
--- src/wp-includes/theme.php	(revision 29773)
+++ src/wp-includes/theme.php	(working copy)
@@ -1055,6 +1055,16 @@
 }
 
 /**
+ * Checks whether a header image is set or not
+ *
+ * @return boolean
+ */
+function has_header_image() {
+	$header_image = get_header_image();
+	return !empty( $header_image );
+}
+
+/**
  * Get random header image data from registered images in theme.
  *
  * @since 3.4.0
