check required properties exist on model before reading indexOf.