def bulk_selection_change(self, should_select):
        """De/select all paths at once.

        Parameters
        ==========

        should_select (boolean)
            indicates whether all paths must be selected
            or deselected.
        """
        ### apply the should_select argument (a boolean)
        ### to the selection states of all paths (works
        ### even if there's no selectable paths)
        self.selection_states[:] = [should_select] * len(self.selection_states)

        ### update appearance of all paths
        self.update_path_objs_appearance()

        ### since the selection may have changed, make it
        ### so the file manager updates its path selection
        self.fm.update_entry_with_selected()
De/select all paths at once.

        Parameters
        ==========

        should_select (boolean)
            indicates whether all paths must be selected
            or deselected.
        
nodezator/fileman/dirpanel/extraop.py