ssl: use is_boolean/1 guard in option validation