question: public static boolean isLibraryResourceRoot ( @ Nullable VirtualFile res ) { if ( res != null ) { VirtualFile aar = res . getParent ( ) ; if ( aar != null ) { VirtualFile exploded = aar . getParent ( ) ; if ( exploded != null ) { String name = exploded . getName ( ) ; if ( name . equals ( EXPLODED_BUNDLES ) || name . equals ( EXPLODED_AAR ) ) { return true ; } } } } return false ; }
target:  Returns true if the given resource folder (such as a given "res" folder, a parent of say a layout folder) is an extracted library (AAR) resource folder