def matches(self, object):
try:<EOL><INDENT>self.check_match(object)<EOL><DEDENT>except securesystemslib.exceptions.FormatError:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
<Purpose>
  Return True if 'object' matches this schema, False if it doesn't.
  If the caller wishes to signal an error on a failed match, check_match()
  should be called, which will raise a 'exceptions.FormatError' exception.