<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def AsDict(self, dt=True):
 """ A dict representation of this User instance. The return value uses the same key names as the JSON representation. Args: dt (bool):
 If True, return dates as python datetime objects. If False, return dates as ISO strings. Return: A dict representing this User instance """

        data = {}
        if self.name:
            data['name'] = self.name
            data['mlkshk_url'] = self.mlkshk_url
        if self.profile_image_url:
            data['profile_image_url'] = self.profile_image_url
        if self.id:
            data['id'] = self.id
        if self.about:
            data['about'] = self.about
        if self.website:
            data['website'] = self.website
        if self.shakes:
            data['shakes'] = [shk.AsDict(dt=dt) for shk in self.shakes]
        data['shake_count'] = self.shake_count
        return data