def METHOD_NAME(Name, Credential,  ConnectionCredential, Ensure):
    found = IsUserPresent(Name, ConnectionCredential)
    if (found and Ensure == 'Present') or ( not found and Ensure == 'Absent'):
        return True
    return False