check if the hive is locked . if the hive is locked no changes can be made . concode_field_sep Logger log concode_elem_sep boolean locked concode_elem_sep ManyToManyMap<Permission,Principal> principals concode_field_sep Boolean cacheLookUp concode_elem_sep void cacheResult concode_elem_sep boolean containsPrincipal concode_elem_sep boolean hasPrincipal concode_elem_sep boolean containsPermission concode_elem_sep void addPermission concode_elem_sep boolean hasPermission concode_elem_sep Set<Permission> getPermissions concode_elem_sep void lock concode_elem_sep void addPrincipal concode_elem_sep Set<Principal> getPrincipals
boolean function ( ) { return locked ; }