def remove(self, option):
for existing_option in self._options:<EOL><INDENT>if existing_option[<NUM_LIT:1>] == option:<EOL><INDENT>self._options.remove(existing_option)<EOL>self._refresh_options()<EOL>return True<EOL><DEDENT><DEDENT>return False<EOL>
Removes the first `option` from the ButtonGroup.

Returns `True` if an item was removed.

:param string option:
    The value of the option to remove from the ButtonGroup.