is_ssl() public static method

Check to see if both the OpenSSL and IMAP modules are loaded. Next, see if the port is explictly 993.
public static is_ssl ( integer $port ) : boolean
$port integer The port number used for the IMAP connection.
return boolean
/**
 * Should we enable SSL for the IMAP connection??
 *
 * Check to see if both the OpenSSL and IMAP modules are loaded.  Next, see if
 * the port is explictly 993.
 *
 * @since 1.0-beta
 *
 * @param int $port The port number for the IMAP server
 * @return bool
 */
function bp_rbe_is_imap_ssl($port = 0)
{
    if (empty($port)) {
        $port = bp_rbe_get_setting('port');
    }
    return BP_Reply_By_Email_Connect::is_ssl((int) $port);
}