Add RandomCheck similar to NullCheck.

Refs #4896