def is_valid(self, object):
try:<EOL><INDENT>self.validate(object)<EOL><DEDENT>except ValidationFailed:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Return whether an object matches the schema.