The drainage district, or drainage and levee district, or the directors thereof, has the right to control the manner in which lateral drains are emptied into the main ditch, drain, or watercourse, in order to prevent such main ditch or drain from being filled or blocked by silt or sand, brought in by such lateral drains.