def METHOD_NAME(proj):
    for word in proj.srs.split():
        key, value = word.split('=')
        if key == "+init":
            return value
    raise ValueError('EPSG code not found for projection')