def _check_version_header(self, first_line):
        """ Checks if the IES version header is correct and the specified IES
        version is supported """
        if first_line not in self.PROFILES:
            raise InvalidIESProfileException("Unsupported Profile: " + first_line)
 Checks if the IES version header is correct and the specified IES
        version is supported 
metadrive/render_pipeline/rpcore/util/ies_profile_loader.py