src/Security/Member.php
public static function logged_in_session_exists()
    {
        Deprecation::notice(
            '5.0.0',
            'This method is deprecated and now does not add value. Please use Security::getCurrentUser()'
        );

        $member = Security::getCurrentUser();
        if ($member && $member->exists()) {
            return true;
        }

        return false;
    }
public static function logged_in_session_exists()
    {
        Deprecation::notice(
            '5.0.0',
            'This method is deprecated and now does not add value. Please use Security::getCurrentUser()'
        );

        $member = Security::getCurrentUser();
        if ($member && $member->exists()) {
            return true;
        }

        return false;
    }
public static function logged_in_session_exists ( ) { Deprecation :: notice ( '5.0.0' , 'This method is deprecated and now does not add value. Please use Security::getCurrentUser()' ) ; $ member = Security :: getCurrentUser ( ) ; if ( $ member && $ member -> exists ( ) ) { return true ; } return false ; }
Check if the member ID logged in session actually
has a database record of the same ID. If there is
no logged in user, FALSE is returned anyway.

@deprecated Not needed anymore, as it returns Security::getCurrentUser();

@return boolean TRUE record found FALSE no record found
Check if the member ID logged in session actually has a database record of the same ID . If there is no logged in user FALSE is returned anyway .