code: def _activity_or_list(value):
          
          result = value
          if value is not None and not isinstance(value, ActivityList):
              try:
                  result = ActivityList([Activity(value)])
              except (TypeError, AttributeError):
                  result = ActivityList(value)
          return result
docs: Tries to convert value to :class:`tincan.ActivityList`
  
          :setter type: :class:`tincan.ActivityList`
          :rtype: :class:`tincan.ActivityList`