def get_year(soup):
    """Return graduation year (or None, if there is no graduation year)."""
    inst_year = soup.find('div', style="line-height: 30px; text-align: \
center; margin-bottom: 1ex").find('span').contents[-1].strip()
    if inst_year.isdigit():
        return int(inst_year)
    else:
        return None