def METHOD_NAME(security_center, role):
    '''
    test roles details for success
    '''
    role = security_center.roles.details(int(role['id']))
    assert isinstance(role, dict)
    check(role, 'id', str)
    check(role, 'name', str)
    check(role, 'description', str)
    check(role, 'createdTime', str)
    check(role, 'modifiedTime', str)
    check(role, 'permManageApp', str)
    check(role, 'permManageGroups', str)
    check(role, 'permManageRoles', str)
    check(role, 'permManageImages', str)
    check(role, 'permManageGroupRelationships', str)
    check(role, 'permManageBlackoutWindows', str)
    check(role, 'permManageAttributeSets', str)
    check(role, 'permCreateTickets', str)
    check(role, 'permCreateAlerts', str)
    check(role, 'permCreateAuditFiles', str)
    check(role, 'permCreateLDAPAssets', str)
    check(role, 'permCreatePolicies', str)
    check(role, 'permPurgeTickets', str)
    check(role, 'permPurgeScanResults', str)
    check(role, 'permPurgeReportResults', str)
    check(role, 'permScan', str)
    check(role, 'permAgentsScan', str)
    check(role, 'permShareObjects', str)
    check(role, 'permUpdateFeeds', str)
    check(role, 'permShareObjects', str)
    check(role, 'permUploadNessusResults', str)
    check(role, 'permViewOrgLogs', str)
    check(role, 'permManageAcceptRiskRules', str)
    check(role, 'permManageRecastRiskRules', str)
    check(role, 'organizationCounts', list)
    for org_count in role['organizationCounts']:
        check(org_count, 'id', str)
        check(org_count, 'userCount', str)
    check(role, 'creator', dict)
    check(role['creator'], 'id', str)
    check(role['creator'], 'username', str)
    check(role['creator'], 'firstname', str)
    check(role['creator'], 'lastname', str)