Why we need contract in kotlin scope function

contract {
    callsInPlace(block, InvocationKind.EXACTLY_ONCE)
}

I have seen this in every single scope function in Standard.kt before they execute block, but when I tracked the definition of contract in ContractBuilder.kt, I find that it is a empty function, so why we need contract in kotlin scope function?