KAA-212: Fix resetT enum adding in schema generation algorithm

Name of this method seems inconsistent. If method is named "checkIfArray", one assume that it returns boolean with result of a check. This method is changing state of an input parameter, so it definitely should be renamed.