This check is important. Calling the API with an empty set of Labels will fail.