fun checkForType(item: DeploymentItem): Boolean
Compares the type information of an item with configured environment information.
item - an item with a specific environment configuration.
Return
true if the configured environment matches to the configuration of the item.
fun checkForType(itemTypes: Set<String>): Boolean
Checks the if the types of items are included in the types (environments) of the installation configuration.
If one of the item list is empty the method returns always true.
Return
If some itemTypes are included in the environment configuration
the return value is true.