code: def can_add_new_content(self, block, file_info):
          
          return ((self._max_files_per_container == 0 or self._max_files_per_container > len(block.content_file_infos))
                  and (self.does_content_fit(file_info, block)
                       or
                       # check if we can fit some content by splitting the file
                       # Note: if max size was unlimited, does_content_fit would have been True
                       (block.content_size < self._max_container_content_size_in_bytes
                        and (self._should_split_small_files or not self._is_small_file(file_info)))))
docs: new content from file_info can be added into block iff
          - file count limit hasn't been reached for the block
          - there is enough space to completely fit the info into the block
          - OR the info can be split and some info can fit into the block