'Check whether the user has an approved verification and return the
"expiration_datetime" of most recent "approved" verification.
Arguments:
user (Object): User
queryset: If a queryset is provided, that will be used instead
of hitting the database.
Returns:
expiration_datetime: expiration_datetime of most recent "approved"
verification.'

@classmethod
def get_expiration_datetime(cls, user, queryset=None):

    if (queryset is None):
        queryset = cls.objects.filter(user=user)
    photo_verification = queryset.filter(status='approved').first()
    if photo_verification:
        return photo_verification.expiration_datetime
