'Returns the status of the user based on their past verification attempts
If no such verification exists, returns \'none\'
If verification has expired, returns \'expired\'
If the verification has been approved, returns \'approved\'
If the verification process is still ongoing, returns \'pending\'
If the verification has been denied and the user must resubmit photos, returns \'must_reverify\'
This checks initial verifications'

@classmethod
def user_status(cls, user):

    status = 'none'
    error_msg = ''
    if cls.user_is_verified(user):
        status = 'approved'
    elif cls.user_has_valid_or_pending(user):
        status = 'pending'
    else:
        try:
            attempts = cls.objects.filter(user=user).order_by('-updated_at')
            attempt = attempts[0]
        except IndexError:
            return ('none', error_msg)
        if (attempt.created_at < cls._earliest_allowed_date()):
            return ('expired', _('Your    {platform_name}    verification    has    expired.').format(platform_name=configuration_helpers.get_value('platform_name', settings.PLATFORM_NAME)))
        if (attempt.status == 'denied'):
            status = 'must_reverify'
        if attempt.error_msg:
            error_msg = attempt.parsed_error_msg()
    return (status, error_msg)
