Implement parse boolean