code: def is_valid(self, fast=False):
          
          try:
              self.validate(fast=fast)
          except BagError:
              return False
          return True
docs: Returns validation success or failure as boolean.
          Optional fast parameter passed directly to validate().