text: # pyfuncs02.py
  
  # SPIS 2016 -- stubs for some sample functions
  
  # THIS FUNCTION IS CORRECT---it is here as an example
  
  def isList(x):
     """
     returns True if argument is of type list, otherwise False
  
     >>> isList(3)
     False
     >>> isList([5,10,15,20])
     True
     """
     
     return ( type(x) == list )   # True if the type of x is a list
  
  
  ### @@@ NOW, write a function called isString(x)
  ### @@@ similar to isList() function above.
  ### @@@ Note that the Python pre-defined value that stands for the string type is str
  
  def isString(x):
      """"
      return True if x is a string, otherwise False
      """
      if type(x) == str:
          return True
      else:
          return False
  
  
  