RefClass instanceof method