Closed implementation of the admitted java.lang.Boolean surface.
java.lang.Boolean
@spec parse_boolean([String.t() | nil]) :: {:ok, boolean()}