public static function boolean($check, array $booleanValues = [])
    {
        if (!$booleanValues) {
            $booleanValues = [true, false, 0, 1, '0', '1'];
        }

        return in_array($check, $booleanValues, true);
    }