PayWithAmazon\Client::checkIfBool PHP Method

checkIfBool() private method

* checkIfBool - checks if the input is a boolean
private checkIfBool ( $string )
    private function checkIfBool($string)
    {
        $string = strtolower($string);
        return in_array($string, array('true', 'false'));
    }