public boolean isUserProfileConfigured(){
  if (TextUtils.isEmpty(getImsProxyAddrForMobile())) {
    return false;
  }
  if (TextUtils.isEmpty(getUserProfileImsDomain())) {
    return false;
  }
  AuthenticationProcedure mode=getImsAuthenticationProcedureForMobile();
switch (mode) {
case DIGEST:
    if (getUserProfileImsUserName() == null) {
      return false;
    }
  if (TextUtils.isEmpty(getUserProfileImsPassword())) {
    return false;
  }
if (TextUtils.isEmpty(getUserProfileImsPrivateId())) {
  return false;
}
break;
default :
break;
}
return true;
}

public boolean isUserProfileConfigured ( ) { if ( TextUtils . isEmpty ( getImsProxyAddrForMobile ( ) ) ) { return false ; } if ( TextUtils . isEmpty ( getUserProfileImsDomain ( ) ) ) { return false ; } AuthenticationProcedure mode = getImsAuthenticationProcedureForMobile ( ) ; switch ( mode ) { case DIGEST : if ( getUserProfileImsUserName ( ) == null ) { return false ; } if ( TextUtils . isEmpty ( getUserProfileImsPassword ( ) ) ) { return false ; } if ( TextUtils . isEmpty ( getUserProfileImsPrivateId ( ) ) ) { return false ; } break ; default : break ; } return true ; }
is user profile configured
