public boolean isBlacklisted(String name){
  if (getBlacklistEnabled() == false) {
    return false;
  }
  return isOnList(blacklist,name);
}

public boolean isBlacklisted ( String name ) { if ( getBlacklistEnabled ( ) == false ) { return false ; } return isOnList ( blacklist , name ) ; }
determines if a class is blacklisted . if it ' s blacklisted , deserialization should not be allowed . otherwise , deserialization should be allowed . this method is safe to call without first checking if blacklisting is enabled - if blacklisting is disabled , this method will always return " false " .
