def METHOD_NAME(self, read_capacity=5, write_capacity=1):
    names = set()
    for p in self.client.get_paginator('list_tables').paginate():
        names.update(p['TableNames'])
    if self.table_name in names:
        return False
    self.client.create_table(
        TableName=self.table_name,
        KeySchema=[
            {
                "AttributeName": "AccountId",
                "KeyType": "HASH"
            },
            {
                "AttributeName": "ResourceId",
                "KeyType": "RANGE"
            }
        ],
        AttributeDefinitions=[
            {
                "AttributeName": "ResourceId",
                "AttributeType": "S"
            },
            {
                "AttributeName": "AccountId",
                "AttributeType": "S"
            },
            {
                "AttributeName": "LockStatus",
                "AttributeType": "S"
            }
        ],
        LocalSecondaryIndexes=[{
            'IndexName': 'PendingLocks',
            'Projection': {
                'ProjectionType': 'INCLUDE',
                'NonKeyAttributes': ['LockDate'],
            },
            'KeySchema': [
                {
                    'AttributeName': 'AccountId',
                    'KeyType': 'HASH'
                },
                {
                    'AttributeName': 'LockStatus',
                    'KeyType': 'RANGE'
                }
            ],
        }],
        ProvisionedThroughput={
            "ReadCapacityUnits": read_capacity,
            "WriteCapacityUnits": write_capacity
        },
        StreamSpecification={
            'StreamEnabled': True,
            'StreamViewType': 'NEW_IMAGE'
        }
    )
    return True