code: private boolean contains(List<String> list, String item) {
          return (null == list) ? false : list.contains(item);
      }
docs: Query whether the target list contains the item.
  
  @param list
  @param item
  @return boolean