public function checkBooleanValue($value, $import)
    {
        $default = false;

        if ($value === 'relative') {
            $default = true;
        }

        $value = (isset($import[$value])) ? $import[$value] : $default;

        return $this->getBooleanValue($value);
    }
public function checkBooleanValue($value, $import)
    {
        $default = false;

        if ($value === 'relative') {
            $default = true;
        }

        $value = (isset($import[$value])) ? $import[$value] : $default;

        return $this->getBooleanValue($value);
    }
public function checkBooleanValue ( $ value , $ import ) { $ default = false ; if ( $ value === 'relative' ) { $ default = true ; } $ value = ( isset ( $ import [ $ value ] ) ) ? $ import [ $ value ] : $ default ; return $ this -> getBooleanValue ( $ value ) ; }
Checks if the passed boolean value is true or false

@param string $value  The value to check
@param mixed  $import The passed import

@return bool Returns the value of the boolean
Checks if the passed boolean value is true or false