<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def now(utc=False):
 """Returns the current time. :param utc: If ``True``, returns a timezone-aware ``datetime`` object in UTC. When ``False`` (the default), returns a naive ``datetime`` object in local time. :return: A ``datetime`` object representing the current time at the time of the call. """

    if utc:
        return datetime.datetime.utcnow().replace(tzinfo=dateutil.tz.tzutc())
    else:
        return datetime.datetime.now()