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.

def remove(self, item):
        """
        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.
        """
        check_not_none(item, "Value can't be None")
        item_data = self._to_data(item)
        return self._encode_invoke(list_remove_codec, value=item_data)