public boolean containsContextsWithACModel ( AbstractACModel acModel ) { for ( ProcessContext context : getComponents ( ) ) { if ( context . getACModel ( ) . equals ( acModel ) ) { return true ; } } return false ; }
Checks if there are contexts whose access control model equals the given model .