in rdklib/util/service.py [0:0]
def is_applicable_resource_type(configuration_item, expected_resource_types):
if configuration_item['resourceType'] not in expected_resource_types:
print("ResourceType is not in expected resource types")
return configuration_item['resourceType'] in expected_resource_types