Index: theme.php
===================================================================
--- theme.php	(revision 28644)
+++ theme.php	(working copy)
@@ -1047,6 +1047,16 @@
 }
 
 /**
+ * Whether the theme has a header image.
+ *
+ * @return bool true if the theme has a header image, otherwise false
+ */
+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
