def remove(self, item):
check_not_none(item, "<STR_LIT>")<EOL>item_data = self._to_data(item)<EOL>return self._encode_invoke(list_remove_codec, value=item_data)<EOL>
Removes the specified element's first occurrence from the list if it exists in this list.

:param item: (object), the specified element.
:return: (bool), ``true`` if the specified element is present in this list.