If get_avatar doesn't have a user selected avatar.

I'm using some code to display the administrative user's avatar on their websites in 2 places. This code is:

get_avatar( $user_info->ID )

I would like to find a way to check if the avatar is actually set by the user, and if not, then display:none;.

Here is the full code:

<?php
/**
 * Plugin Name: Contact Page Output
 * Plugin URI: http://YLDIST.COM
 * Description: Contact page shortcodes.
 * Author: JPowersFreelancing
 * Author URI: http://YLDIST.COM
 * Version: 1.0
 */

// =============================================================================
// Contact Page
// =============================================================================

function contact_function() {
	// Shortcode Contents
	$admin_email = get_settings('admin_email');
	$user_info = get_user_by( 'email', $admin_email );

	$member = $user_info->sponsor;
	$facebook = $user_info->facebook;
	$twitter = $user_info->twitter;
	$googleplus = $user_info->googleplus;
	$pinterest = $user_info->pinterest;
	$linkedin = $user_info->linkedin;
	$instagram = $user_info->instagram;
	$flickr = $user_info->flickr;
	$emails = $user_info->emails;

	if (strpos($facebook,'.com') !== false) {
        $fb = "<a target='_blank' href='$user_info->facebook'><img src='https://www.yldist.com/ms/images/social/social-icons-facebook.jpg'></a>";
    } else { 

    }

	if (strpos($twitter,'.com') !== false) {
        $tw = "<a target='_blank' href='$user_info->twitter'><img src='https://www.yldist.com/ms/images/social/social-icons-twitter.jpg'></a>";
    } else { 

    }

	if (strpos($googleplus,'.com') !== false) {
        $gp = "<a target='_blank' href='$user_info->googleplus'><img src='https://www.yldist.com/ms/images/social/social-icons-googleplus.jpg'></a>";
    } else { 

    }

	if (strpos($pinterest,'.com') !== false) {
        $pin = "<a target='_blank' href='$user_info->pinterest'><img src='https://www.yldist.com/ms/images/social/social-icons-pin.jpg'></a>";
    } else { 

    }
	if (strpos($linkedin,'.com') !== false) {
        $li = "<a target='_blank' href='$user_info->linkedin'><img src='https://www.yldist.com/ms/images/social/social-icons-linkedin.jpg'></a>";
    } else { 

    }

	if (strpos($instagram,'.com') !== false) {
        $in = "<a target='_blank' href='$user_info->instagram'><img src='https://www.yldist.com/ms/images/social/social-icons-ins.jpg'></a>";
    } else { 

    }

	if (strpos($flickr,'.com') !== false) {
        $fli = "<a target='_blank' href='$user_info->flickr'><img src='https://www.yldist.com/ms/images/social/social-icons-fli.jpg'></a>";
    } else { 

    }
	if(!isset($emails) || trim($emails) == '') {
		$eml = '<strong>Email:</strong> ' . $user_info->user_email . '<br />';
    } else {
		$eml = '<strong>Email:</strong> ' . $user_info->emails . '<br />';
    }

	return
	get_avatar( $user_info->ID ) . "<br />" .
	'<h5>Contact</h5>' .
	'<strong>Name:</strong> ' . $user_info->display_name . "<br />" .
	'<strong>Member #:</strong> ' . $member . "<br />" .
	$eml .
	'<strong>Phone:</strong> ' . $user_info->number . "<br />" .
	'<h5>Social</h5>' .
	"$fb" . " " .
	"$tw" . " " .
	"$gp" . " " .
	"$li" . " " .
	"$in" . " " .
	"$fli" . " " .
	"$pin"
	;

}
add_shortcode( 'contact-page', 'contact_function' );

// =============================================================================
// Contact Page Bio
// =============================================================================

function contact_bio() {
	// Shortcode Contents
	$user_id_from_email = get_user_id_from_string( get_blog_option($thisblog, 'admin_email'));
	$user_info = get_userdata($user_id_from_email);
	$user_id = get_current_user_id();

	return $user_info->description;
}
add_shortcode( 'contact-page-bio', 'contact_bio' );

?>