parameters: (names)
docstring: Returns true iff all elements of names are valid features.
docstring_summary: Returns true iff all elements of names are valid features.
docstring_tokens: Returns true iff all elements of names are valid features .
function: def valid (names):
      """ Returns true iff all elements of names are valid features.
      """
      def valid_one (name): return __all_features.has_key (name)
          
      if isinstance (names, str):
          return valid_one (names)
      else:
          return [ valid_one (name) for name in names ]
function_tokens: def valid ( names ) : def valid_one ( name ) : return __all_features . has_key ( name ) if isinstance ( names , str ) : return valid_one ( names ) else : return [ valid_one ( name ) for name in names ]