def thisorthat(this, that):
    """
    If this is None takes that otherwise takes this.
    :param this:
    :param that:
    :return:
    """
    if this is None:
        return that
    else:
        return this