> ## Documentation Index
> Fetch the complete documentation index at: https://minestorev3-api.ci.batlify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accessibility

> Check if user is able to visit your store

## Example of usage

```ts theme={null}
import { accessibility } from '@batlify/mscms-api'

// Haha, joke. You don't need name your function as "banana"...
async function banana() {
    await accessibility.check()
        .then((result) => {

            // Check if visitor is able to visit your store
            if(result.status === 'banned') {
                console.log(result.message)
            } else {
                console.log("You're welcome")
            }
        })
        .catch((e) => {

            // Getting visitor's accessibility failed
            console.log("Oops! Something went wrong :/", e)
        })
}
```
