Define a probability function

Define a probability function, state its two key properties, and determine whether a given function satisfies those properties.