This function checks if a user is active. Argument user_name can also be a comma-separated list of user names, group names or role names. In that case, the function will return true only if all users in the list, groups of the list, and in the roles of the list, are active.
isActive(text user_name) #Output: Boolean