recurisve function which checks the given collection of priviledges , and checks inside the contains property of those priviledges returns true if the required priviledge is directly present in the collection or is implied concode_field_sep PlaceHolder placeHolder concode_field_sep void _expand concode_elem_sep Set<AccessControlledResource.Priviledge> expand concode_elem_sep Set<AccessControlledResource.Priviledge> asSet
boolean function ( AccessControlledResource . Priviledge arg0 , Iterable < AccessControlledResource . Priviledge > arg1 ) { if ( arg1 == null ) { return false ; } for ( AccessControlledResource . Priviledge loc0 : arg1 ) { if ( loc0 . equals ( arg0 ) ) { return true ; } if ( containsPriviledge ( arg0 , loc0 . contains ) ) { return true ; } } return false ; }