private function getBooleanValue($value)
    {
        $value = strtolower($value);

        if (!$value || $value === "false" || $value === "no") {
            return false;
        }

        return true;
    }
private function getBooleanValue($value)
    {
        $value = strtolower($value);

        if (!$value || $value === "false" || $value === "no") {
            return false;
        }

        return true;
    }
private function getBooleanValue ( $ value ) { $ value = strtolower ( $ value ) ; if ( ! $ value || $ value === "false" || $ value === "no" ) { return false ; } return true ; }
Gets the boolean value from the string

@param string $value  The value to check

@return bool Returns the value of the boolean
Gets the boolean value from the string