contract Lockable is PauserRole{

    mapping (address => bool) private lockers;
    
    event LockAccount(address account, bool islock);
    
    /**
     * @dev Check if the account is locked.
     * @param account specific account address.
     */
    function isLock(address account) public view returns (bool) {
        return lockers[account];
    }
    
    /**
     * @dev Lock or thaw account address
     * @param account specific account address.
     * @param islock true lock, false thaw.
     */
    function lock(address account, bool islock)  public onlyPauser {
        lockers[account] = islock;
        emit LockAccount(account, islock);
    }
}
/**
 * @title Lockable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
function lock(address account, bool islock)  public onlyPauser {
    lockers[account] = islock;
    emit LockAccount(account, islock);
}

/**
 * @dev Lock or thaw account address
 * @param account specific account address.
 * @param islock true lock, false thaw.
 */