public static boolean isSynchronized(int mod){
  return Modifier.isSynchronized(mod);
}

public static boolean isSynchronized ( int mod ) { return Modifier . isSynchronized ( mod ) ; }
returns if modifier is synchronized . note that in our case modifier can be mix ( public and private for example ) .
