Added check plain function to appeas the almighty travis.