code: def validate(self):
          
          validate_marked_location(self.location)
          if not isinstance(self.optional, bool):
              raise TypeError(u'Expected bool optional, got: {} {}'.format(
                  type(self.optional).__name__, self.optional))
docs: Ensure that the Backtrack block is valid.