<s>[INST] returns true if one of the resourcetypes within tree up until root resource type has the same name as one of the comma separated values of the system property ch.puzzle.itc.mobiliar.common.util.configurationservice.configkey #consumable_softlink_resource_types concode_field_sep ReleaseLocator releaseLocator concode_elem_sep EntityManager entityManager concode_elem_sep String WS_PPI_TYPE concode_elem_sep Logger log concode_elem_sep ResourceDependencyResolverService resourceDependencyResolverService concode_elem_sep ResourceRepository resourceRepository concode_elem_sep String WS_CPI_TYPE concode_field_sep List<ResourceEntity> getResourceByGroupName concode_elem_sep ResourceEntity getResourceByNameAndReleaseWithTemplates concode_elem_sep List<ResourceEntity> getAllApplicationsWithResource concode_elem_sep List<ResourceEntity> getResourcesByGroupNameWithRelations concode_elem_sep List<String> extractResourceTypeSystemProperties concode_elem_sep List<ResourceEntity> getBatchJobProvidedResources concode_elem_sep Map<String,String> getAppToAppServerMapping concode_elem_sep boolean hasResourceProvidableSoftlinkType concode_elem_sep boolean hasResourceProvidableSoftlinkType concode_elem_sep ResourceEntity getResourceByGroupNameAndRelease concode_elem_sep boolean isTypeOrHasTypeAsSuperType concode_elem_sep ResourceEntity getResourceByNameAndReleaseWithRelations concode_elem_sep ResourceEntity getResourceWithGroupAndRelatedResources concode_elem_sep List<ResourceEntity> getResourcesByGroupNameWithAllRelationsOrderedByRelease concode_elem_sep ResourceEntity getApplicationServerForApplication concode_elem_sep List<ResourceEntity> getBatchJobConsumedResources [/INST] boolean function ( Integer arg0 ) { return hasResourceConsumableSoftlinkType ( entityManager . find ( ResourceEntity . class , arg0 ) ) ; </s>