public static boolean isSyncStatus(Context context,String status){
  if (TextUtils.isEmpty(status)) {
    return false;
  }
  String[] statuses=getSyncStatuses(context);
  if (statuses == null) {
    return false;
  }
  for (  String s : statuses) {
    if (s.equals(status)) {
      return true;
    }
  }
  return false;
}

public static boolean isSyncStatus ( Context context , String status ) { if ( TextUtils . isEmpty ( status ) ) { return false ; } String [ ] statuses = getSyncStatuses ( context ) ; if ( statuses == null ) { return false ; } for ( String s : statuses ) { if ( s . equals ( status ) ) { return true ; } } return false ; }
determines if the specified status is set to be synced .
