(username, checkpoint)
return (
        user is not None and
        user.created_on is not None and
        user.created_on > checkpoint
    )
Return true if user was created after checkpoint

    :param username: Web User username (string).
    :param checkpoint: datetime object.
Return true if user was created after checkpoint
Return true if user was created after checkpoint
def was_user_created_after(username, checkpoint):
    """
    Return true if user was created after checkpoint

    :param username: Web User username (string).
    :param checkpoint: datetime object.
    """
    from corehq.apps.users.models import WebUser
    user = WebUser.get_by_username(username)
    return (
        user is not None and
        user.created_on is not None and
        user.created_on > checkpoint
    )
def was_user_created_after ( username , checkpoint ) : from corehq . apps . users . models import WebUser user = WebUser . get_by_username ( username ) return ( user is not None and user . created_on is not None and user . created_on > checkpoint )