parameters: (self, items)
docstring: Verifies that each given item is a member of the list from ListItems().
  
      Args:
        items: a list or tuple of strings.
  
      Raises:
        ValueError: if `items` is not a tuple or list or if any of the elements of
          `items` is not found in the list provided by self.ListItems().
docstring_summary: Verifies that each given item is a member of the list from ListItems().
docstring_tokens: Verifies that each given item is a member of the list from ListItems () .
function: def _validate_items(self, items):
      """Verifies that each given item is a member of the list from ListItems().
  
      Args:
        items: a list or tuple of strings.
  
      Raises:
        ValueError: if `items` is not a tuple or list or if any of the elements of
          `items` is not found in the list provided by self.ListItems().
      """
      if not isinstance(items, (list, tuple)):
        raise ValueError('items must be a list or tuple')
  
      valid_items = self.list_items()
      for item in items:
        if item not in valid_items:
          raise ValueError(
              'Item [%s] is invalid. Valid entries include: %s' %
              (item, valid_items))
function_tokens: def _validate_items ( self , items ) : if not isinstance ( items , ( list , tuple ) ) : raise ValueError ( 'items must be a list or tuple' ) valid_items = self . list_items ( ) for item in items : if item not in valid_items : raise ValueError ( 'Item [%s] is invalid. Valid entries include: %s' % ( item , valid_items ) )