private boolean isInBlackList(String tpl){
  if (blackList.contains(tpl)) {
    return true;
  }
  return false;
}

private boolean isInBlackList ( String tpl ) { if ( blackList . contains ( tpl ) ) { return true ; } return false ; }
checks if the input string is in black list
