Determines whether an object of clazz1 can be safely cast to clazz2.
See Also: Java Native Interface Specification (Oracle)