Index: wp-includes/media.php
===================================================================
--- wp-includes/media.php	(revision 26923)
+++ wp-includes/media.php	(working copy)
@@ -191,6 +191,20 @@
 }
 
 /**
+ * Check if an image size exists
+ *
+ * @since 3.9.0
+ *
+ * @param string $name The image size name.
+ * @return bool True if it exists, false if not.
+ */
+function has_image_size( $name = '' ) {
+	global $_wp_additional_image_sizes;
+
+	return isset( $_wp_additional_image_sizes[$name] );
+}
+
+/**
  * Registers an image size for the post thumbnail
  *
  * @since 2.9.0
