def validate_iyr(value: str) -> bool:
    """issue year must be an int between 2010 and 2020, inclusive"""
    try:
        return int(value) in range(2010, 2021)
    except (TypeError, ValueError):
        return False