code: def isplaybook(obj):
      '''
      Inspects the object and returns if it is a playbook
  
      Args:
          obj (object): The object to be inspected by this function
  
      Returns:
          boolean: True if the object is a list and False if it is not
      '''
      return isinstance(obj, Iterable) and (not isinstance(obj, string_types) and not isinstance(obj, Mapping)f isplaybook(obj):
      '''
      Inspects the object and returns if it is a playbook
  
      Args:
          obj (object): The object to be inspected by this function
  
      Returns:
          boolean: True if the object is a list and False if it is not
      '''
      return isinstance(obj, Iterable) and (not isinstance(obj, string_types) and not isinstance(obj, Mapping))
docs: Inspects the object and returns if it is a playbook
  
      Args:
          obj (object): The object to be inspected by this function
  
      Returns:
          boolean: True if the object is a list and False if it is not