question: private static boolean isPartitionTag ( String [ ] partitions , String tagName ) { if ( partitions != null ) { for ( String partition : partitions ) { if ( partition . equals ( tagName ) ) { return true ; } } } return false ; }
target:  Check if the tagName is one of the partition tags