<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_handler():
 """Remove the user, group and policies for Blockade."""

    logger.debug("[#] Removing user, group and permissions for Blockade")
    client = boto3.client("iam", region_name=PRIMARY_REGION)

    iam = boto3.resource('iam')
    account_id = iam.CurrentUser().arn.split(':')[4]

    try:
        logger.debug("[#] Removing %s from %s group" % (BLOCKADE_USER, BLOCKADE_GROUP))
        response = client.remove_user_from_group(
            GroupName=BLOCKADE_GROUP,
            UserName=BLOCKADE_USER
        )
    except client.exceptions.NoSuchEntityException:
        logger.debug("[!] Blockade user already removed from group")

    for label in BLOCKADE_POLICIES + ['PushToCloud', 'APIGatewayAdmin']:
        logger.debug("[#] Removing %s policy" % (label))
        arn = 'arn:aws:iam::{id}:policy/{policy}'.format(id=account_id,
                                                         policy=label)
        if label == 'PushToCloud':
            arn = "arn:aws:iam::aws:policy/service-role/AmazonAPIGatewayPushToCloudWatchLogs"
        if label == 'APIGatewayAdmin':
            arn = "arn:aws:iam::aws:policy/AmazonAPIGatewayAdministrator"

        try:
            response = client.detach_group_policy(
                GroupName=BLOCKADE_GROUP, PolicyArn=arn)
        except:
            pass
        try:
            response = client.detach_role_policy(
                RoleName=BLOCKADE_ROLE, PolicyArn=arn)
        except:
            pass
        try:
            response = client.delete_policy(PolicyArn=arn)
        except Exception as e:
            print(e)
            pass
    logger.debug("[#] Removed all policies")

    try:
        logger.debug("[#] Deleting %s user" % (BLOCKADE_USER))
        response = client.delete_user(
            UserName=BLOCKADE_USER
        )
    except client.exceptions.NoSuchEntityException:
        logger.debug("[!] %s user already deleted" % (BLOCKADE_USER))

    try:
        logger.debug("[#] Removing %s group" % (BLOCKADE_GROUP))
        response = client.delete_group(GroupName=BLOCKADE_GROUP)
    except:
        logger.debug("[!] Group already removed")

    try:
        logger.debug("[#] Removing %s role" % (BLOCKADE_ROLE))
        response = client.delete_role(RoleName=BLOCKADE_ROLE)
    except:
        logger.debug("[!] Role already removed")

    return True