def isDominatedBy(d1PointTest, d1PointCompare):
    """Tests if a point is dominated by another.
    N.B. works in any number of dimensions.
    
    d1PointTest     -- a 2-element list specifying the location to test domination for
    d1PointCompare  -- a 2-element list specifying the reference location to compare with
    
    Returns a Boolean (true if the test point is dominated)
    """
    return all(d1PointCompare <= d1PointTest) and any(d1PointCompare < d1PointTest)