verifyElementAttributeValue returns false if the order of multiple attribute values are changed

Hi,
When the order of multiple attribute values in the args of above method are changed and it executes, returns false.
The first one below is example of correct order and the second one is wrong order.
・true

WebUI.verifyElementAttributeValue(findTestObject('Object Repository/'), 'class', 'form-control align-self-center', Common.TIMEOUT.getValue())

・false

WebUI.verifyElementAttributeValue(findTestObject('Object Repository/'), 'class', 'align-self-center form-control', Common.TIMEOUT.getValue())

So I use the way like below to be flexible, but it’s a little bit tedious.
Is there a way to write smarter?

String val = WebUI.getAttribute(findTestObject('Object Repository/webTest/region/index/input_search'), 'class')
if(!val.contains('form-control')) {
	KeywordUtil.markFailedAndStop("form not contains!!!")
}