Python Pre-Conditions similar to the Guava Preconditions class.