function storeIncludesLogin(storeId, login) {
    if (!session.logins[storeId]) {
        return false;
    }

    if (!session.logins[storeId].length) {
        return false;
    }

    search = `${login.trim().trimStart("/")}.gpg`;
    return session.logins[storeId].includes(search);
}
Respond with boolean if combination of store id and login currently exist.

@since 3.8.0

@param {string} storeId unique store id
@param {string} login relative file path without file extension
@returns {boolean}