runIfLoggedInWithResult

private inline fun <T> runIfLoggedInWithResult(block: () -> Result<T>): Result<T>

Wraps a block that produces a result and returns it, or returns other Result (like failure) coming from other conditions checks from this function