Is the translation approved? (true: yes, false: no, null: pending review).

@param bool|null $value

@return static
189678
public function setIsApproved($value)
    {
        if ($value === null || $value === '') {
            $this->approved = null;
        } else {
            $this->approved = (bool) $value;
        }

        return $this;
    }
903626
public function hasValue($value, bool $strict = false): bool
    {
        return in_array($value, $this->data, $strict);
    }
27905
public function transform($value)
    {
        if (null === $value) {
            return null;
        }

        if (!is_bool($value)) {
            throw new TransformationFailedException('Expected a boolean.');
        }

        return $value ? $this->trueValue : $this->falseValue;
    }
841500
public static function IS_TEXT($value = NULL) {
		$value		= self::flattenSingleValue($value);

		return (is_string($value) && !self::IS_ERROR($value));
	}
221154
public static function isBooleanValue($value): bool
    {
        return is_bool($value) || self::isBooleanStringValue($value) || self::isBooleanNumericValue($value);
    }
1047164
public static function isRequired($value)
    {
        return isset($value) === true
        && \is_null($value) === false
        && empty($value) === false;
    }
962231
protected function valueBool($value)
	{
		if ($value !== false && empty($value)) return Yii::$app->formatter->nullDisplay;
		return Yii::$app->formatter->asBoolean($value);
	}
64537
protected function getBooleanValue($value)
    {
        if (is_string($value)) {
            return 'true' === $value ? true : false;
        } elseif (is_bool($value)) {
            return $value;
        } elseif (is_numeric($value)) {
            return 1 === $value ? true : false;
        }
    }
1320150
public function val($value = null)
    {
        if (!$this->isNull($value)) {
            $this->value = $value;

            return $this;
        }

        return $this->value;
    }
64606
public function filter($value)
    {
        return isset($this->actionToStatusMap[$value])
            ? $this->actionToStatusMap[$value]
            : false;
    }
255955
public function IsLoaded($value = null)
	{
		if ($value != null) $this->_isLoaded = $value;
		return $this->_isLoaded;
	}
955368
public function isValid($value)
    {
        $valueString = (string) $value;

        $this->_setValue($valueString);

        try {
            if (!Zend_Locale_Format::isFloat($value, array('locale' => $this->_locale))) {
                $this->_error();
                return false;
            }
        } catch (Zend_Locale_Exception $e) {
            $this->_error();
            return false;
        }

        return true;
    }
201007
public static function convertToBoolean($value)
    {
        if (is_bool($value)) {
            return $value;
        }
        if (is_numeric($value)) {
            return $value > 0;
        }
        if (is_string($value)) {
            return (!empty($value) && strtolower($value) !== 'false');
        }
        if (is_array($value) || (is_object($value) && $value instanceof \Countable)) {
            return count($value) > 0;
        }
        if (is_object($value)) {
            return true;
        }
        return false;
    }
159800
public static function isBooleanValue(string $value): bool
    {
        return in_array(strtolower(trim($value)), StringUtils::TRUES) || in_array(strtolower(trim($value)), StringUtils::FALSES);
    }
550461
public static function boolval($value)
    {
        deprecationWarning('Type::boolval() is deprecated.');
        if (is_string($value) && !is_numeric($value)) {
            return strtolower($value) === 'true';
        }

        return !empty($value);
    }
909532
public function version(string $value = null)
    {
        if (null === $value) {
            return $this->version;
        }
        $this->version = $value;
        return $this;
    }
1183025
protected function _toBoolean($value)
    {
        $value = strtolower((string)$value);
        $result = ($value != 'false')
                && ($value != 'off')
                && !empty($value);

        return $result;
    }