bool: make the from_str function a FromStr impl