def can_ship(weight, distance):
    """
    Determines if we can ship a package based on its weight,
    and distance traveled.
    """

    if weight * distance < 1000:
        return True
    else:
        return False