Is Account Locked
Checks if an account is locked.
Signature: def islocked(cinfo)
Parameters:
cinfo['acctid'] - The account to be checked
Return Value:
ACSuccess 0
ACUnknownError 1
ACOperationNotSupported 2
ACInvalidUser 7
Remarks:
The agent.isLocked callback should be used to return the status of the account. See the agent.isLocked callback page for full details.