code: def is_auto_partition_required(self, brain_or_object):
          
          obj = api.get_object(brain_or_object)
          if not IAnalysisRequest.providedBy(obj):
              return False
          template = obj.getTemplate()
          return template and template.getAutoPartition()
docs: Returns whether the passed in object needs to be partitioned