If a value is 0, NULL, false, or empty, (bool) converts it to false, otherwise true.
bool(true) bool(true) bool(false) bool(true) bool(true) bool(true) bool(false) bool(true) bool(false)