def METHOD_NAME(self, context, configurationAttributes):
    print "Idp extension. Method: translateAttributes"
    userProfile = context.getUserProfile()
    if userProfile is None:
       print "No valid user profile could be found to translate"
       return False
    if userProfile.getId() is None:
       print "No valid user principal could be found to traslate"
       return False
    self.defaultNameTranslator.populateIdpAttributeList(userProfile.getAttributes(),context)
    #Return True to specify that default method is not needed
    return True