public static boolean hasProperty ( Object obj , String name ) { if ( obj == null || name == null ) return false ; String [ ] names = name . split ( "\\." ) ; if ( names == null || names . length == 0 ) return false ; return performHasProperty ( obj , names , 0 ) ; }
Checks recursively if object or its subobjects has a property with specified name .