question: private static boolean instanceOfAny ( Object o , Collection < Class > classes ) { for ( Class c : classes ) { if ( c . isInstance ( o ) ) return true ; } return false ; }
target:  returns true if the Object 'o' is an instance of any class in  the Collection