public boolean isCurrent ( ) { BaasUser current = current ( ) ; if ( current == null ) return false ; Logger . debug ( "Current username is %s and mine is %s" , current . username , username ) ; return current . username . equals ( username ) ; }
Checks if this user is the currently logged in user on this device .