from datetime import datetime


def expired(expdate):
    """
    Checks if the expiry date field from a record is past

    Parameters
    ----------
    expdata: str
        Expiry date timestamp
    """

    return expdate < str(int(datetime.now().timestamp()))