Actually I figured it out, I think.
Used this code
add_action( 'wpsp_before_header','wpsp_add_custom_meta' );
function wpsp_add_custom_meta()
{
$meta = get_post_meta( get_the_ID(), 'multiple_images', true );
if ( isset( $meta ) && '' !== $meta )
echo '<div class="badge"><span>Gallery</span></div>';
}
and it works 🙂