def valid_distance(dist_m):
    """check that distance is:
    * non-negative 
    * an integer
    * devisable by 100
    * above 3000
    """
    if type(dist_m) != int:
        return False

    if 0 < dist_m < 3000:
        return False

    if dist_m % 100 != 0:
        return False

    return True