public static boolean isInstanceOf(final Object object, final Class target) {
		if (object == null || target == null) {
			return false;
		}
		return target.isInstance(object);
	}
public static boolean isInstanceOf(final Object object, final Class target) {
		if (object == null || target == null) {
			return false;
		}
		return target.isInstance(object);
	}
public static boolean isInstanceOf ( final Object object , final Class target ) { if ( object == null || target == null ) { return false ; } return target . isInstance ( object ) ; }
Safe version of <code>isInstance</code>, returns <code>false</code>
if any of the arguments is <code>null</code>.
Safe version of <code > isInstance< / code > returns <code > false< / code > if any of the arguments is <code > null< / code > .