# isSmartAccountWithSigner | @aa-sdk/core

> Overview of the isSmartAccountWithSigner function from @aa-sdk/core

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function isSmartAccountWithSigner(
  account,
): account is SmartContractAccountWithSigner<
  string,
  SmartAccountSigner<any>,
  keyof EntryPointRegistryBase<unknown>
>;
```

Defined in: [aa-sdk/core/src/account/smartContractAccount.ts:113](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/account/smartContractAccount.ts#L113)

Determines if the given SmartContractAccount has a signer associated with it.

## Example

```ts
import { toSmartContractAccount } from "@aa-sdk/core";

const account = await toSmartContractAccount(...);

console.log(isSmartAccountWithSigner(account)); // false: the base account does not have a publicly accessible signer
```

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `account`
      </td>

      <td>
        [`SmartContractAccount`](../type-aliases/SmartContractAccount)
      </td>

      <td>
        The account to check.
      </td>
    </tr>

  </tbody>
</table>

## Returns

`account is SmartContractAccountWithSigner<string, SmartAccountSigner<any>, keyof EntryPointRegistryBase<unknown>>`

true if the account has a signer, otherwise false.