def is_newer_than(after, seconds):
 if isinstance(after, basestring):
  after = parse_strtime(after).replace(tzinfo=None)
 return ((after - utcnow()) > datetime.timedelta(seconds=seconds))

def is_newer_than ( after , seconds ) : if isinstance ( after , basestring ) : after = parse_strtime ( after ) . replace ( tzinfo = None ) return ( ( after - utcnow ( ) ) > datetime . timedelta ( seconds = seconds ) )
return true if after is newer than seconds .