enhancement: started to add model checks as lambda functions to optimalgos