includes/class-fs-admin-notices.php
function has_sticky( $id, $network_level_or_blog_id = null ) {
            if ( $this->should_use_network_notices( $id, $network_level_or_blog_id ) ) {
                $notices = $this->_network_notices;
            } else {
                $notices = $this->get_site_notices( $network_level_or_blog_id );
            }

            return $notices->has_sticky( $id );
        }
function has_sticky( $id, $network_level_or_blog_id = null ) {
            if ( $this->should_use_network_notices( $id, $network_level_or_blog_id ) ) {
                $notices = $this->_network_notices;
            } else {
                $notices = $this->get_site_notices( $network_level_or_blog_id );
            }

            return $notices->has_sticky( $id );
        }
function has_sticky ( $ id , $ network_level_or_blog_id = null ) { if ( $ this -> should_use_network_notices ( $ id , $ network_level_or_blog_id ) ) { $ notices = $ this -> _network_notices ; } else { $ notices = $ this -> get_site_notices ( $ network_level_or_blog_id ) ; } return $ notices -> has_sticky ( $ id ) ; }
Check if sticky message exists by id.

@author Vova Feldman (@svovaf)
@since  1.0.9

@param string   $id
@param int|null $network_level_or_blog_id

@return bool
Check if sticky message exists by id .