from datetime import datetime


def ageexact(obj, ndays):
    """
    Returns True if obj's age is exactly ndays.
    """
    objdate = datetime.strptime(obj.last_modified, '%Y-%m-%dT%H:%M:%S.%f')
    return (datetime.now() - objdate).days == ndays