def should_be_approved(pending_registration):
 return ((timezone.now() - pending_registration.initiation_date) >= settings.REGISTRATION_APPROVAL_TIME)

def should_be_approved ( pending_registration ) : return ( ( timezone . now ( ) - pending_registration . initiation_date ) >= settings . REGISTRATION_APPROVAL_TIME )
returns true if pending_registration has surpassed its pending time .