Checks to see if the reported code is included in the expected code list