function getIgnoreTag(elem) {
    try {
        if (elem && elem.includes(statics.SWAGGER_TAG + '.ignore'))
            if (elem.split(new RegExp(statics.SWAGGER_TAG + '.ignore\\s*\\=\\s*'))[1].slice(0, 4) == 'true') {
                return true;
            }
        return false;
    } catch (err) {
        return false;
    }
}
Search for #swagger.ignore
@param {*} elem