OMS-862: Added helper method for parsing booleans from a string.