package Ġcom . shop app . domain . inter actor . account Ċ Ċ import Ġcom . shop app . domain . inter actor . base . Single UseCase Ċ import Ġcom . shop app . domain . repository . Auth Repository Ċ import Ġio . reactivex . Single Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠSession Check UseCase Ġ@ Inject Ġconstructor ( private Ġval Ġauth Repository : ĠAuth Repository ) Ġ: ĊĠĠĠ ĠSingle UseCase < Boolean , ĠUnit >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġbuild UseCase Single ( params : ĠUnit ): ĠSingle < Boolean > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġauth Repository . is LoggedIn () ĊĠĠĠ Ġ} Ċ }